Configuration Go Libraries Ranking
Libraries for configuration parsing.
66 repositories, updated daily.
- Go port of Ruby's dotenv library (Loads environment variables from `.env`).
- A blazingly fast JSON serializing & deserializing library.
- Go library for managing configuration data from environment variables.
- Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.
- 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`).
- Minimalistic configuration reader (from files, ENV, and wherever you want).
- Composable, observable and performant config handling for Go for the distributed processing era.
- application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.
- Load configuration in cascade from multiple backends into a struct.
nil-go/konf
- The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).
- GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language.
- Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.
- Cloud native application configuration. Bind ENV to structs in only two lines.
- Read your configuration from environment variables.
- Zero-effort, concise configuration management that avoids boilerplate and repetitive code, supports multiple sources with priority overrides.
- File watching and configuration management with MPSC ring buffer, adaptive batching strategies, and universal format parsing (JSON, YAML, TOML, INI, HCL, Properties).
- Harvester, a easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration.
goraz/onion
- Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.
- Library for initializing configuration structs from env variables, files, flags and 'default' tag.
- Configuration library for working with the HOCON(a human-friendly JSON superset) format, supports features like environment variables, referencing other values, comments and multiple files.
- opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.
junk1tm/env
- A lightweight package for loading environment variables into structs.
- Lightweight, zero-dependency, and extendable configuration management.
- Go package that fetches parameters from AWS System Manager - Parameter Store.
num30/config
- configure your app using file, environment variables, or flags in two lines of code.
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.
- The library provides a unified way to read configuration data into a structure from various sources, such as env, flags, and configuration files (.json, .yaml, .toml, .env).
- Populate Go structs from flags, environment variables, config.json and defaults with deterministic precedence. No extra dependencies.
- A simple configuration library with recursive placeholders resolution and no magic.
- Structured data format to config struct decoder library for Go - supporting multiple data formats.
- Container-oriented, zero-dependency configuration library that unifies Env variable and Flag parsing. Uses generics for type safety, without reflection or struct tags.
- Library/tool to merge multiple JSON/YAML/TOML files from arbitrary URLs, validation against a JSON schema, and application of default values defined in the schema.
- Go utility for loading configuration parameters from AWS SSM (Parameter Store).
- A Go package that read or set data from map, slice or json.
- Yaml with environment variables reader. it helps to have secrets as environment variable but load them configs as structured Yaml.
wlevene/ini
- INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file.
- Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.
muir/nfigure
- Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML
- Minimalistic, zero dependency, typed environment variables library.
- Tag-based configuration parser which loads values from different providers into typesafe struct.
hedzr/store
- Extensible, high-performance configuration management library, optimized for hierarchical data.
syntaqx/env
- An environment utility package with support for unmarshaling into structs.
- Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple.
- Simple and convenient library for working with app configurations.
- The configuration provider for consuming data in Azure App Configuration from Go applications.
- Spring-inspired configuration management library for Go.
- Vault property source support for go-external-config.
- Consul property source support for go-external-config.
- AWS property source support for go-external-config.
psyb0t/goenv
- Reads the ENV environment variable and reports whether the process is running in production or development.
- Loads configuration from environment variables into structs via reflection, with struct-tag defaults and required fields.
- Struct-based configuration loader with a dedicated config file parser, supporting env vars, flags, defaults, and validation.