- Config
- Environment
- Logging
- Signals
- Testing
package main
import (
"github.com/nano-interactive/go-utils/v2/config
)
// Defaults
var DefaultConfig = Config {
Env: "development",
Name: "config",
Type: "yaml",
}
func main() {
config, err := config.New(config.Config)
if err != nil {
// Failed to load configuration
}
}