An Efficient Struct Configuration Pattern For Golang

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. warg

    Declarative CLI framework

    Funcopts aren't always appropriate, but boy do they make things more readable sometimes. I use them pervasively in warg to allow declarative nested CLI commands

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. kelseyhightower/envconfig

    Golang library for managing configuration data from environment variables

  4. go-envconfig

    A Go library for parsing struct tags from environment variables.

  5. opts

    Small Go lib for generic, vararg func opts (by eddieowens)

    I've used this a ton throughout my projects. I actually created a tiny generics library to handle it more easily because I was tired of setting up all the boilerplate.

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

  • Go: Functional Options Are Slow

    1 project | news.ycombinator.com | 25 May 2022
  • How can someone who has primarily worked in Web/Mobile development break into systems engineering?

    1 project | /r/ExperiencedDevs | 18 Aug 2023
  • fn main() at the top or bottom?

    1 project | /r/rust | 3 Jul 2023
  • Announcing ️‍🌈 erdtree v3.1 ️‍🌈

    1 project | /r/commandline | 30 Jun 2023
  • Announcing ️‍🌈 erdtree v3.1 ️‍🌈

    4 projects | /r/rust | 30 Jun 2023