| Features | - load from files, byte slices and readers, with overrides
- parent-child sections, shadow keys, multiline values and references
- typed values: numbers, booleans, durations, times and lists
- map structs to and from INI files with struct tags
- v2: writes that keep comments and order, and line and column in errors
| - reads JSON, TOML, YAML, INI, envfile and Java properties config files
- finds config files across multiple search paths
- environment variable binding with prefixes
- command-line flag binding, including Cobra and pflag
- remote key/value stores such as etcd and Consul
- defaults and explicit overrides with a fixed precedence order
- watches config files and reloads them live
- key aliases for refactoring
- All 9 features
| - load .env files into the environment with godotenv.Load()
- load several named files, or read them into a map
- godotenv command to run a program with a .env file's variables
- MIT licence
|