Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.2% on proxy.golang.org
Top 0.2% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 2.8% forks on proxy.golang.org
Top 0.9% docker downloads on proxy.golang.org

proxy.golang.org : github.com/ilyakaznacheev/cleanenv

Package cleanenv gives you a single tool to read application configuration from several sources with ease. - read from several file formats (YAML, JSON, TOML, ENV, EDN) and parse into the internal structure; - read environment variables into the internal structure; - output environment variable list with descriptions into help output; - custom variable readers (e.g. if you want to read from remote config server, etc). You can just prepare the config structure and fill it from the config file and environment variables. You can list all of your environment variables by means of help output: Then run go run main.go -h and the output will include: For more detailed information check examples and example tests. Example_setter uses type with a custom setter to parse environment variable data Example_updater uses a type with a custom updater

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/ilyakaznacheev/cleanenv
Keywords: configuration, environment-configuration, environment-variables, hacktoberfest
License: MIT
Latest release: 10 months ago
First release: almost 5 years ago
Namespace: github.com/ilyakaznacheev
Dependent packages: 451
Dependent repositories: 500
Stars: 927 on GitHub
Forks: 83 on GitHub
Docker dependents: 64
Docker downloads: 18,967
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago

    Loading...
    Readme
    Loading...