#1 Koanf
Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Package config is a go config management implement.
Health score 73/100, confidence 75/100.
| Latest version | v2.2.8 |
| Imported by | 215 packages |
| Stars | 0 |
| Forks | 0 |
| Last activity | 23 days ago |
| Latest release | Unknown |
| License | Unknown |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| Config | Type | type Config struct{} |
| Config.AddAlias | Method | func (c *Config) AddAlias(format, alias string) |
| Config.AddDriver | Method | func (c *Config) AddDriver(driver Driver) |
| Config.AliasMap | Method | func (c *Config) AliasMap() map[string]string |
| Config.BindStruct | Method | func (c *Config) BindStruct(key string, dst any) error |
| Config.Bool | Method | func (c *Config) Bool(key string, defVal ...bool) (value bool) |
| Config.ClearAll | Method | func (c *Config) ClearAll() |
| Config.ClearCaches | Method | func (c *Config) ClearCaches() |
| Config.ClearData | Method | func (c *Config) ClearData() |
| Config.Data | Method | func (c *Config) Data() map[string]any |
| Config.Decode | Method | func (c *Config) Decode(dst any) error |
| Config.DelDriver | Method | func (c *Config) DelDriver(format string) |
Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Go configuration with fangs.
A simple, zero-dependencies library to parse environment variables into structs
Package ini provides INI file read and write functionality in Go
lightweight extendable API Gateway in Go - parallel fan-out, flexible aggregation, and zero configuration magic.