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 reddit.com/r/golang

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • 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.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • koanf

    Simple, 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