env
kelseyhightower/envconfig
Our great sponsors
env | kelseyhightower/envconfig | |
---|---|---|
2 | 9 | |
2,531 | 4,148 | |
- | - | |
6.7 | 0.0 | |
about 1 month ago | 7 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
env
-
A lightweight package for loading environment variables into structs
How does it compare with https://github.com/caarlos0/env ?
-
I've been using "caarlos0/env" for nearly 4 years? Anything better?
I also have been using https://github.com/caarlos0/env in all projects since that was the one which I used in first project.
kelseyhightower/envconfig
-
Configuration management library for stage and production environments ?
You could prefix your env vars and use this package. https://github.com/kelseyhightower/envconfig
-
passwords, secrets, keys - best practice
kelseyhightower/envconfig
-
I'm looking for a good alternativ to Viper
Pretty much all of our services and pkgs use https://github.com/kelseyhightower/envconfig. It’s dead simple, gets out of your way, and is battle tested
-
Looking for a Go(Golang) buddy
https://github.com/kelseyhightower/envconfig (read config from environment variables, more succinct than viper)
- เทส go package จาก GitHub แบบไม่ง้อ go.mod
-
Implement an access key rotator
Additionally I'll use an own Configuration type meant to hold all information my applications needs. I find github.com/kelseyhightower/envconfig to be quite handy when you have to deal with environment variables:
-
Website previews for custom Netlify deployments using GitLab CI
The site deploy functionality is implemented using a small Go program. It performs the deployment using the official Netlify Open API client library from files on a directory. The directory, the site ID, the authentication token, and the rest of the details are configured using environment variables that are picked up using Kelsey Hightower's envconfig library. The program creates a preview site when the environment variable NETLIFY_DRAFT is set.
-
Is Viper necessary if my app is only using environment variables?
If you are using only env vars to configure your app I would highly recommend this lightweight library https://github.com/kelseyhightower/envconfig
-
I've been using "caarlos0/env" for nearly 4 years? Anything better?
https://github.com/kelseyhightower/envconfig is also popular
What are some alternatives?
viper - Go configuration with fangs
ini - Package ini provides INI file read and write functionality in Go
toml - Instream TOML to JSON encoder
go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store)
envconfig - Small library to read your configuration from environment variables
go-toml - Go library for the TOML file format
go-env - Golang handling of environment values
configuro - An opinionated configuration loading framework for Containerized and Cloud-Native applications.
goConfig - goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
confita - Load configuration in cascade from multiple backends into a struct