Two ways to provide configuration: command-line, yaml file.

This page summarizes the projects mentioned and recommended in the original post on /r/golang

AppSignal - Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com
sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. koanf

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

    Of course. You should always use a good config package. caarlos0/env is okay but https://github.com/knadh/koanf is a better all around solution imo.

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. viper

    Go configuration with fangs

    Not only that, the "unmarshall to struct" method doesn't work at all for environment variables. https://github.com/spf13/viper/issues/188

  4. cue

    The home of the CUE language! Validate and define text-based and dynamic configuration

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • TSON – A JSON superset with immutable, hash-pinned schemas

    1 project | news.ycombinator.com | 5 Aug 2026
  • cuenv: one typed file for your whole project

    3 projects | dev.to | 23 Jun 2026
  • The L in "LLM" Stands for Lying

    2 projects | news.ycombinator.com | 5 Mar 2026
  • Deterministic Programming with LLMs

    3 projects | news.ycombinator.com | 28 Feb 2026
  • Cue Does It All, but Can It Literate?

    1 project | news.ycombinator.com | 16 Jan 2026