Skip to content

simple platform independent config file management

License

Notifications You must be signed in to change notification settings

keyoub/usrconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usrconfig

PkgGoDev Build Status Go Report Card codecov

usrconfig is a very simple platform independent user config management.

Usage

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")

Supported platforms

usrconfig is built to work on any platform that supports Go.