https://github.com/euskadi31/go-config
https://github.com/euskadi31/go-config
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/euskadi31/go-config
- Owner: euskadi31
- License: mit
- Created: 2019-11-18T12:37:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T12:50:54.000Z (over 5 years ago)
- Last Synced: 2025-01-19T18:48:53.195Z (5 months ago)
- Language: Makefile
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Go Config [](https://github.com/euskadi31/go-config/releases/latest) [](https://godoc.org/github.com/euskadi31/go-config)
====================[](https://goreportcard.com/report/github.com/euskadi31/go-config)
| Branch | Status | Coverage |
|---------|--------|----------|
| master | [](https://travis-ci.org/euskadi31/go-config) | [](https://coveralls.io/github/euskadi31/go-config?branch=master) |Simple Config library for Golang
/!\ Work In Progress /!\
## Example
```go
package mainimport (
"fmt"
"github.com/euskadi31/go-config"
)type AppConfiguration struct {
Name string
}type Configuration struct {
App *AppConfiguration
}func main() {
var cfg *Configurationif err := config.Unmarshal(&cfg); err != nil {
panic(err)
}
}```
## License
go-config is licensed under [the MIT license](LICENSE.md).