Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crazy-max/gonfig

Lightweight config handling for Go
https://github.com/crazy-max/gonfig

configuration environment-variables file flags golang golang-library yaml

Last synced: about 1 month ago
JSON representation

Lightweight config handling for Go

Awesome Lists containing this project

README

        


PkgGoDev
Test workflow
Go Report
Codecov

Become a sponsor
Donate Paypal

## 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.