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
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
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

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