Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 943 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 943 Bytes

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.