viperby spf13
Go configuration with fangs.
github.com/spf13/viperGo 1.23+ 10 dependenciesv1.21.0updated 9mo ago

One-com/gone
Modular JSON configuration. Keep your config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.
viperby spf13
Go configuration with fangs.
github.com/spf13/viperGo 1.23+ 10 dependenciesv1.21.0updated 9mo ago
godotenvby joho
Go port of Ruby's dotenv library (Loads environment variables from.env).
github.com/joho/godotenvGo 1.13+ No dependencies v1.5.1updated 3mo ago
sonicby bytedance
A blazingly fast JSON serializing & deserializing library.
github.com/bytedance/sonicGo 1.18+ 8 dependenciesv1.15.5updated 7d ago
envby caarlos0
Parse environment variables to Go structs (with defaults).
github.com/caarlos0/env/v11Go 1.26+ No dependencies v11.4.1updated 1d ago
kelseyhightower/envconfigby kelseyhightower
Go library for managing configuration data from environment variables.
github.com/kelseyhightower/envconfigGo 1.20+ No dependencies v1.4.0updated 1y ago
koanfby knadh
Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
github.com/knadh/koanf/v2Go 1.23+ 3 dependenciesv2.4.1updated today
iniby go-ini
Go package to read and write INI files.
gopkg.in/ini.v1Go 1.13+ 1 dependencyv1.67.3updated 1mo ago
kongby alecthomas
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).
github.com/alecthomas/kongGo 1.20+ 2 dependenciesupdated 1d ago