https://github.com/bardia-key/usrconfig
simple platform independent config file management
https://github.com/bardia-key/usrconfig
configuration-files configuration-management user-configuration userconfig usrconfig
Last synced: 2 days ago
JSON representation
simple platform independent config file management
- Host: GitHub
- URL: https://github.com/bardia-key/usrconfig
- Owner: bardia-key
- License: mit
- Created: 2020-08-08T21:41:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T22:04:35.000Z (over 5 years ago)
- Last Synced: 2025-10-24T16:52:11.031Z (8 months ago)
- Topics: configuration-files, configuration-management, user-configuration, userconfig, usrconfig
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# usrconfig
[](https://pkg.go.dev/github.com/qeubar/usrconfig?tab=doc)
[](https://travis-ci.com/qeubar/usrconfig)
[](https://goreportcard.com/report/github.com/qeubar/usrconfig)
[](https://codecov.io/gh/qeubar/usrconfig)
usrconfig is a very simple platform independent user config management.
## Usage
```go
import "github.com/quebar/usrconfig"
type MyConfig struct {
Name string `yaml:"user_name"`
Email string `yaml:"user_email"`
}
conf := MyConfig{
Name: "QeuBar",
Email: "que@bar.com",
}
usrconfig.Update(conf, "my-app")
```
### Supported platforms
usrconfig is built to work on any platform that supports Go.