Go configuration-file

Open-source Go projects categorized as configuration-file

Top 3 Go configuration-file Projects

configuration-file
  • koanf

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

    Project mention: Puck | news.ycombinator.com | 2024-07-13

    Seems quite useful. Will definitely check it out.

    Minor nit: 10MB really isn’t that “small” for a CLI. I’d looked at your go.mod and seems like the most of dependency bloat might be coming from cobra or viper as it has in-tree plugins. You can check out an alternative like https://github.com/knadh/koanf which would decrease the binary size, I’m sure.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • konf

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

    Project mention: Konf 1.0 – The simplest config loader for Go supports file, env, flag and clouds | news.ycombinator.com | 2024-03-20
  • gcfg

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

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go configuration-file discussion

Log in or Post with

Go configuration-file related posts

  • Nees help install knadh/koanf

    1 project | /r/golang | 27 May 2023
  • Two ways to provide configuration: command-line, yaml file.

    3 projects | /r/golang | 30 Mar 2023
  • Simplify Your Configurations in Go

    1 project | /r/golang | 11 Nov 2022
  • Viper – Go Configuration with Fangs

    4 projects | news.ycombinator.com | 20 May 2022
  • Extracting embedded files

    1 project | /r/golang | 25 Apr 2022
  • Is Viper necessary if my app is only using environment variables?

    2 projects | /r/golang | 19 Feb 2021
  • I've been using "caarlos0/env" for nearly 4 years? Anything better?

    3 projects | /r/golang | 26 Jan 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Sep 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source configuration-file projects in Go? This list will help you:

Project Stars
1 koanf 2,655
2 konf 222
3 gcfg 166

Sponsored
Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com

Did you konow that Go is
the 4th most popular programming language
based on number of metions?