Awesome Go
Section: Configuration · Parse environment variables to Go structs (with defaults).
Entry
Appears in 4 awesome lists
A simple, zero-dependencies library to parse environment variables into structs
Section: Configuration · Parse environment variables to Go structs (with defaults).
Section: 配置 · star:5964 解析环境变量并赋值到struct中(默认值)。
Section: 配置 · 解析 ENV 环境变量到结构体中
Section: Logging and Configuration · A simple, zero-dependencies library to parse environment variables into structs
Viper is a complete configuration solution for Go applications including 12-Factor apps. It is designed to work within an application, and can handle all types of configuration needs and formats.
star:2951 Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (successor to kingpin).
Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Manage local application configuration files using templates and data from etcd or consul.
Golang library for managing configuration data from environment variables