usrconfig is a very simple platform independent user config management.
import "github.com/quebar/usrconfig"
type MyConfig struct {
Name string `yaml:"user_name"`
Email string `yaml:"user_email"`
}
conf := MyConfig{
Name: "QeuBar",
Email: "[email protected]",
}
usrconfig.Update(conf, "my-app")
usrconfig is built to work on any platform that supports Go.