You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main
import (
"fmt""github.com/goburrow/cfg"
)
funcmain() {
keys:=make(map[string]string)
// DefaultLoader loads configuration from ini file "~/.config/myApp/config"// if it exists and environment variables starting with "myApp_".loader:=cfg.DefaultLoader("myApp")
err:=loader.Load(keys)
iferr!=nil {
fmt.Println(err)
return
}
fmt.Println(keys)
}