#1 v2
Package config is a go config management implement.
Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Health score 95/100, confidence 100/100.
| Latest version | v1.5.0 |
| Imported by | 540 packages |
| Stars | 4.1K |
| Forks | 186 |
| Last activity | 11 days ago |
| Latest release | v2.3.5 (11 days ago) |
| License | MIT |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Conf | Type | type Conf struct{ ... } |
| Conf.Delim | Field | Delim string |
| Conf.StrictMerge | Field | StrictMerge bool |
| KeyMap | Type | type KeyMap map[string][]string |
| Koanf | Type | type Koanf struct{} |
| Koanf.All | Method | func (ko *Koanf) All() map[string]interface{} |
| Koanf.Bool | Method | func (ko *Koanf) Bool(path string) bool |
| Koanf.BoolMap | Method | func (ko *Koanf) BoolMap(path string) map[string]bool |
| Koanf.Bools | Method | func (ko *Koanf) Bools(path string) []bool |
| Koanf.Bytes | Method | func (ko *Koanf) Bytes(path string) []byte |
| Koanf.Copy | Method | func (ko *Koanf) Copy() *Koanf |
| Koanf.Cut | Method | func (ko *Koanf) Cut(path string) *Koanf |
Package config is a go config management implement.
A simple, zero-dependencies library to parse environment variables into structs
Package xdg provides an implementation of the XDG Base Directory Specification.
Go configuration with fangs.
The home of the CUE language! Validate and define text-based and dynamic configuration