mirror of
https://github.com/crazy-max/diun.git
synced 2024-12-23 03:48:00 +00:00
37 lines
1.9 KiB
Markdown
37 lines
1.9 KiB
Markdown
<p align="center">
|
|
<a href="https://pkg.go.dev/github.com/crazy-max/gonfig"><img src="https://img.shields.io/badge/go.dev-docs-007d9c?logo=go&logoColor=white&style=flat-square" alt="PkgGoDev"></a>
|
|
<a href="https://github.com/crazy-max/gonfig/actions?workflow=test"><img src="https://img.shields.io/github/actions/workflow/status/crazy-max/gonfig/test.yml?label=test&logo=github&style=flat-square" alt="Test workflow"></a>
|
|
<a href="https://goreportcard.com/report/github.com/crazy-max/gonfig"><img src="https://goreportcard.com/badge/github.com/crazy-max/gonfig?style=flat-square" alt="Go Report"></a>
|
|
<a href="https://codecov.io/gh/crazy-max/gonfig"><img src="https://img.shields.io/codecov/c/github/crazy-max/gonfig?logo=codecov&style=flat-square" alt="Codecov"></a>
|
|
<br /><a href="https://github.com/sponsors/crazy-max"><img src="https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github&style=flat-square" alt="Become a sponsor"></a>
|
|
<a href="https://www.paypal.me/crazyws"><img src="https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal&style=flat-square" alt="Donate Paypal"></a>
|
|
</p>
|
|
|
|
## 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](_example).
|
|
|
|
## 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**](https://github.com/sponsors/crazy-max) or by making
|
|
a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely!
|
|
|
|
Thanks again for your support, it is much appreciated! :pray:
|
|
|
|
## License
|
|
|
|
MIT. See `LICENSE` for more details.
|