I've been using "caarlos0/env" for nearly 4 years? Anything better?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kelseyhightower/envconfig

    Golang library for managing configuration data from environment variables

  • https://github.com/kelseyhightower/envconfig is also popular

  • env

    A simple and zero-dependencies library to parse environment variables into structs

  • I also have been using https://github.com/caarlos0/env in all projects since that was the one which I used in first project.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • koanf

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

  • Personally I like: https://github.com/knadh/koanf

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