Go-lang Configuration

Back

1. aconfig

Simple, useful and opinionated config loader.

2. cleanenv

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

3. config

JSON or YAML configuration wrapper with environment variables and flags parsing.

4. configuration

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

5. configure

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

6. configuro

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

7. confita

Load configuration in cascade from multiple backends into a struct.

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

9. env

Parse environment variables to Go structs (with defaults).

10. envcfg

Un-marshaling environment variables to Go structs.

11. envconf

Configuration from environment.

12. envconfig

Read your configuration from environment variables.

13. envh

Helpers to manage environment variables.

14. fig

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

15. gcfg

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

16. genv

Read environment variables easily with dotenv support.

17. go-aws-ssm

Parameter Store.

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

19. go-ini

A Go package that marshals and unmarshals INI-files.

20. go-ssm-config

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

21. go-up

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

22. goConfig

Parses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.

23. godotenv

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

24. gofigure

Go application configuration made easy.

25. gone/jconf

Modular JSON configuration. Keep you config structs along with the code they configure and delegate parsing to submodules without sacrificing full config serialization.

26. gonfig

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

27. gookit/config

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

28. harvester

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

29. hjson

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

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

31. ingo

Flags persisted in an ini-like config file.

32. ini

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

33. joshbetz/config

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

34. kelseyhightower/envconfig

Go library for managing configuration data from environment variables.

35. koanf

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

36. konfig

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

37. kong

Command-line parser with support for arbitrarily complex command-line structures and additional sources of configuration such as YAML, JSON, TOML, etc (succesor to `kingpin`).

38. mini

Golang package for parsing ini-style configuration files.

39. nasermirzaei89/env

Simple useful package for read environment variables.

40. onion

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

41. store

Lightweight configuration manager for Go.

42. swap

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

43. typenv

Minimalistic, zero dependency, typed environment variables library.

44. uConfig

Lightweight, zero-dependency, and extendable configuration management.

45. viper

Go configuration with fangs.

46. xdg

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