mirror of
https://github.com/crazy-max/diun.git
synced 2024-12-22 19:38:28 +00:00
.. | ||
env | ||
file | ||
flag | ||
parser | ||
types | ||
.editorconfig | ||
.gitignore | ||
.golangci.yml | ||
CHANGELOG.md | ||
codecov.yml | ||
docker-bake.hcl | ||
Dockerfile | ||
file_finder.go | ||
gonfig.go | ||
LICENSE | ||
loader_env.go | ||
loader_file.go | ||
loader_flag.go | ||
loader.go | ||
README.md |
About
This library is heavily inspired by the traefik config package. It offers a simple and performant config handling with:
- Configuration files in YAML or TOML format
- Environment variables
- Flag arguments
An example is available here.
Installation
go get github.com/crazy-max/gonfig
Contributing
Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by becoming a sponsor on GitHub or by making a Paypal donation to ensure this journey continues indefinitely!
Thanks again for your support, it is much appreciated! 🙏
License
MIT. See LICENSE
for more details.