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
go-ini

Package ini provides INI file read and write functionality in Go

Created Dec 2014

configuration go ini parser
Total 3,541
30 days +1
ilyakaznacheev

✨Clean and minimalistic environment configuration reader for Golang

Created Jul 2019

configuration environment-configuration environment-variables hacktoberfest
Total 2,169
30 days +1
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
heetch

Load configuration in cascade from multiple backends into a struct

Created Dec 2017

configuration configuration-loader golang structure team-boost
Total 506
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
kkyr
kkyr / fig

A minimalist Go configuration library

Created Jan 2020

config-file configuration configuration-management environment environment-variables
Total 383
30 days +0
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
JeremyLoy

12 factor configuration as a typesafe struct in as little as two function calls

Created Apr 2019

12-factor cloud configuration environment go
Total 336
30 days +0
vrischmann

Small library to read your configuration from environment variables

Created Apr 2015

configuration go golang
Total 250
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
num30

Declarative configuration for Go

Created May 2022

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

More

unknwon

Package goconfig is a fully functional and comments-support configuration file (.ini) parser.

Created Mar 2013

configuration go ini parser
Total 604
30 days +0
uber-go

Configuration for Go applications

Created May 2017

configuration go golang yaml
Total 480
30 days +1
olebedev

JSON or YAML configuration wrapper with convenient access methods.

Created Apr 2014

configuration golang json yaml
Total 264
30 days +0
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
mwitkow

Dynamic flag management for Go.

Created Jul 2015

configuration dynamic-flags etcd flags golang
Total 205
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
gobuffalo

Envy makes working with ENV variables in Go trivial.

Created Jan 2017

configuration environment environment-variables go gobuffalo
Total 152
30 days +0
ridgelines

Robust application configuration made simple

Created Nov 2015

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

Native Go bindings for OpenWrt's UCI.

Created Feb 2019

configuration configuration-management go lexer native
Total 108
30 days +0
nginxinc

A library for working with NGINX configs in Go

Created Jan 2019

configuration configuration-files configuration-management go golang
Total 100
30 days +2
segmentio

Go package for loading program configuration from multiple sources.

Created Dec 2016

command-line command-line-parser configuration configuration-file configuration-loader
Total 87
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
go-simpler

🔍 Load environment variables into a config struct

Created Jan 2022

12factor configuration dependency-free environment-variables go
Total 80
30 days +0
ovh

Golang configuration management library

Created Apr 2018

configuration configuration-management golang golang-library
Total 77
30 days +1
traefik

Loads configuration from many sources

Created Aug 2020

cli-flags configuration environment-variables go golang
Total 69
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
paked

Configure is a Go package that gives you easy configuration of your project through redundancy

Created Jun 2015

configuration deployment development golang
Total 56
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
containous

Merge your configuration sources

Created Apr 2016 Archived

cli configuration golang kv-store merge
Total 106
30 days +0

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