Popularity
5.9
Growing
Activity
0.0
Stable
236
8
44
Programming language: Go
License: GNU General Public License v3.0 or later
Tags:
Configuration
config alternatives and similar packages
Based on the "Configuration" category.
Alternatively, view config alternatives based on common mentions on social networks and blogs.
-
kelseyhightower/envconfig
Go library for managing configuration data from environment variables. -
konfig
Composable, observable and performant config handling for Go for the distributed processing era. -
koanf
Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line. -
gookit/config
application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge. -
hjson
Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments. -
gcfg
read INI-style configuration files into Go structs; supports user-defined types and subsections -
goConfig
Parse a struct as input and populates the fields of this struct with parameters fom command line, environment variables and configuration file. -
joshbetz/config
A small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP. -
harvester
Harvester, a easy to use static and dynamic configuration package supportig seeding, env vars and Consul integration. -
onion
Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP. -
configuro
opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications. -
configure
Provides configuration through multiple sources, including JSON, flags and environment variables. -
configuration
Library for initializing configuration structs from env variables, files, flags and 'default' tag. -
hocon
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. -
sprbox
Build-environment aware toolbox factory and agnostic config parser (YAML, TOML, JSON and Environment vars). -
swap
Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env). -
gonfig
Tag-based configuration parser which loads values from different providers into typesafe struct. -
gone/jconf
Modular JSON configuration. Keep you config structs along the code they configure and delegate parsing to submodules without sacrificing full config serialization.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of config or a related project?
Popular Comparisons
README
Config

Package config provides convenient access methods to configuration stored as JSON or YAML.
This is a fork of the original version. This version extends the functionality of the original without losing compatibility. Major features added:
Set(path string, value interface{}) error
methodEnv() *config.Config
method, for OS environment variables parsingFlag() *config.Config
method, for command line arguments parsing usign pkg/flag singletonArgs(args ...string) *config.Config
method, for command line arguments parsingU*
methodsCopy(...path) (*config.config, error)
methodExtend(*config.Config) (*config.Config, error)
methodError() error
method to show last parsing error, works only with.Args()
method
Example and more information you can find here.