Categories

Configuration

Libraries for configuration parsing.

Repos

97

Stars

93,057

30 days

+261

caarlos0

A simple, zero-dependencies library to parse environment variables into structs

Created Jul 2015

config configuration environment environment-variables go
Total 6,372
30 days +38
knadh

Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

Created Jun 2019

config config-loader configuration configuration-file configuration-management
Total 4,246
30 days +28
cristalhq

Simple, useful and opinionated config loader.

Created Jun 2020

command-line config configuration configuration-files dependency-free
Total 656
30 days +8
lalamove

Composable, observable and performant config handling for Go for the distributed processing era

Created Jan 2019

composable config configuration etcd golang
Total 646
30 days +0
gookit

📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名

Created Jul 2018

config config-management configuration configuration-management flags
Total 585
30 days +0
nil-go

The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP).

Created Mar 2023

appconfig aws azure config config-loader
Total 398
30 days +3
golobby

A lightweight yet powerful configuration manager for the Go programming language

Created Oct 2019

config config-management config-manager configuration configuration-files
Total 365
30 days +0
chaindead

Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.

Created Apr 2025

config configuration environment flag go
Total 200
30 days +0
goraz

Layer based configuration for golang

Created Jul 2015

config configuration golang
Total 119
30 days +0
BoRuDar

Library for setting values to structs' fields from env, flags, files or default tag

Created Nov 2019

12-factor config configuration configuration-management go
Total 108
30 days +0
sherifabdlnaby

An opinionated configuration loading framework for Containerized and Cloud-Native applications.

Created Apr 2020

12-factor cloud-native config configuration containerization
Total 92
30 days +0
omeid

Lightweight, zero-dependency, and extendable library for comperhensive configuration management

Created May 2017

config configuration-management flags golang kubernetes
Total 75
30 days +0
num30

Declarative configuration for Go

Created May 2022

config configuration environment-variables go golang
Total 61
30 days +0

More

joshbetz

🛠 A configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.

Created Apr 2017

config configuration env environment-variables go
Total 213
30 days +0
go-gcfg

read INI-style configuration files into Go structs; supports user-defined types and subsections

Created Aug 2015

config configuration configuration-file go golang
Total 170
30 days +0
ridgelines

Robust application configuration made simple

Created Nov 2015

awesome-go config configuration go golang
Total 128
30 days +0
gookit

📝 Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INI配置读取管理,支持多文件加载,数据覆盖合并, 解析ENV变量, 解析变量引用。DotEnv 解析加载

Created Jul 2018

config configuration configuration-management dotenv dotenv-loader
Total 86
30 days +0
leodeim

Useless config lib. You should use something else instead

Created Dec 2022

config configuration file go golang
Total 68
30 days +0
moogar0880

A pluggable configuration management library with zero dependencies

Created Feb 2018

config configuration configuration-management go golang
Total 66
30 days +0
tietang

config source library for golang, support properties/yaml/ini file、zookeeper\consul\etcd k/v k/props

Created Jun 2017

config consul consul-key go-properties go-props
Total 65
30 days +0
miracl

Library providing routines to merge and validate JSON, YAML and/or TOML files

Created Jan 2018

config configuration configuration-management golang golang-library
Total 50
30 days +1
lytics

Config parser for go, modeled after Nginx format, Nice lenient syntax with Comments

Created Oct 2014 Archived

config configuration golang
Total 139
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.