Cute Gopher Mascot

The Best Go Libraries For Configuration - Libraries for configuration parsing. (57)

Discover the best Go libraries for Configuration in Libraries for configuration parsing.! Find the perfect tools to streamline your development and boost productivity. From harvester to hjson, we've got you covered. Let the coding begin!

harvester

Harvester, an easy to use static and dynamic configuration package supporting seeding, env vars and Consul integration.

Discover More! πŸš€

hjson

Human JSON, a configuration file format for humans. Relaxed syntax, fewer mistakes, more comments.

Discover More! πŸš€

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.

Discover More! πŸš€

ingo

Flags persisted in an ini-like config file.

Discover More! πŸš€

sonic

A blazingly fast JSON serializing & deserializing library.

Discover More! πŸš€

aconfig

Simple, useful and opinionated config loader.

Discover More! πŸš€

bcl

BCL is a configuration language similar to HCL.

Discover More! πŸš€

cleanenv

Minimalistic configuration reader (from files, ENV, and wherever you want).

Discover More! πŸš€

config

Cloud native application configuration. Bind ENV to structs in only two lines.

Discover More! πŸš€

config

configure your app using file, environment variables, or flags in two lines of code

Discover More! πŸš€

configuration

Library for initializing configuration structs from env variables, files, flags and 'default' tag.

Discover More! πŸš€

configure

Provides configuration through multiple sources, including JSON, flags and environment variables.

Discover More! πŸš€

configuro

opinionated configuration loading & validation framework from ENV and Files focused towards 12-Factor compliant applications.

Discover More! πŸš€

confiq

Structured data format to config struct decoder library for Go - supporting multiple data formats

Discover More! πŸš€

confita

Load configuration in cascade from multiple backends into a struct.

Discover More! πŸš€

conflate

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.

Discover More! πŸš€

env

Parse environment variables to Go structs (with defaults).

Discover More! πŸš€

env

A lightweight package for loading environment variables into structs.

Discover More! πŸš€

env

An environment utility package with support for unmarshaling into structs

Discover More! πŸš€

envconfig

Read your configuration from environment variables.

Discover More! πŸš€

envh

Helpers to manage environment variables.

Discover More! πŸš€

fig

Tiny library for reading configuration from a file and from environment variables (with validation & defaults).

Discover More! πŸš€

genv

Read environment variables easily with dotenv support.

Discover More! πŸš€

go-array

A Go package that read or set data from map, slice or json.

Discover More! πŸš€

go-aws-ssm

Go package that fetches parameters from AWS System Manager - Parameter Store.

Discover More! πŸš€

go-cfg

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).

Discover More! πŸš€

go-conf

Simple library for application configuration based on annotated structs. It supports reading the configuration from environment variables, config files and command line parameters.

Discover More! πŸš€

go-ini

A Go package that marshals and unmarshals INI-files.

Discover More! πŸš€

go-ssm-config

Go utility for loading configuration parameters from AWS SSM (Parameter Store).

Discover More! πŸš€

go-up

A simple configuration library with recursive placeholders resolution and no magic.

Discover More! πŸš€

GoCfg

Config manager with Struct Tags based contracts, custom value providers, parsers, and documentation generation. Customizable yet simple.

Discover More! πŸš€

godotenv

Go port of Ruby's dotenv library (Loads environment variables from `.env`).

Discover More! πŸš€

gofigure

Go application configuration made easy.

Discover More! πŸš€

GoLobby/Config

GoLobby Config is a lightweight yet powerful configuration manager for the Go programming language.

Discover More! πŸš€

gonfig

Tag-based configuration parser which loads values from different providers into typesafe struct.

Discover More! πŸš€

gookit/config

application config manage(load,get,set). support JSON, YAML, TOML, INI, HCL. multi file load, data override merge.

Discover More! πŸš€

ini

Go package to read and write INI files.

Discover More! πŸš€

ini

INI Parser & Write Library, Unmarshal to Struct, Marshal to Json, Write File, watch file.

Discover More! πŸš€

joshbetz/config

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

Discover More! πŸš€

kelseyhightower/envconfig

Go library for managing configuration data from environment variables.

Discover More! πŸš€

koanf

Light weight, extensible library for reading config in Go applications. Built in support for JSON, TOML, YAML, env, command line.

Discover More! πŸš€

konf

The simplest API for reading/watching config from file, env, flag and clouds (e.g. AWS, Azure, GCP).

Discover More! πŸš€

konfig

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

Discover More! πŸš€

kong

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`).

Discover More! πŸš€

mini

Golang package for parsing ini-style configuration files.

Discover More! πŸš€

nasermirzaei89/env

Simple useful package for read environment variables.

Discover More! πŸš€

nfigure

Per-library struct-tag based configuration from command lines (Posix & Go-style); environment, JSON, YAML

Discover More! πŸš€

onion

Layer based configuration for Go, Supports JSON, TOML, YAML, properties, etcd, env, and encryption using PGP.

Discover More! πŸš€

piper

Viper wrapper with config inheritance and key generation.

Discover More! πŸš€

store

Lightweight configuration manager for Go.

Discover More! πŸš€

swap

Instantiate/configure structs recursively, based on build environment. (YAML, TOML, JSON and env).

Discover More! πŸš€

typenv

Minimalistic, zero dependency, typed environment variables library.

Discover More! πŸš€

uConfig

Lightweight, zero-dependency, and extendable configuration management.

Discover More! πŸš€

viper

Go configuration with fangs.

Discover More! πŸš€

xdg

Go implementation of the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/) and [XDG user directories](https://wiki.archlinux.org/index.php/XDG_user_directories).

Discover More! πŸš€

xdg

Cross platform package that follows the [XDG Standard](https://specifications.freedesktop.org/basedir-spec/latest/).

Discover More! πŸš€

yamagiconf

The "safe subset" of YAML for Go configs.

Discover More! πŸš€