|23 days ago||7 months ago|
|BSD 2-clause "Simplified" 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.
Best practice for configuring secrets
6 projects | reddit.com/r/golang | 6 Apr 2022
I use this: https://github.com/alexflint/go-arg and setting defaults for my local environment. So no need to keep a .env file.
Recommended framework/library for creating cli apps in go?
9 projects | reddit.com/r/golang | 27 Jan 2022
I personally swear by the go-arg package, as i prefer its library-not-framework approach.
Configuration management library for stage and production environments ?
1 project | reddit.com/r/golang | 30 Mar 2022
You could prefix your env vars and use this package. https://github.com/kelseyhightower/envconfig
passwords, secrets, keys - best practice
5 projects | reddit.com/r/golang | 23 Feb 2022
I'm looking for a good alternativ to Viper
12 projects | reddit.com/r/golang | 16 Jan 2022
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
5 projects | reddit.com/r/golang | 8 May 2021
https://github.com/kelseyhightower/envconfig (read config from environment variables, more succinct than viper)
เทส go package จาก GitHub แบบไม่ง้อ go.mod
1 project | dev.to | 26 Apr 2021
Implement an access key rotator
4 projects | dev.to | 25 Apr 2021
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
10 projects | dev.to | 28 Mar 2021
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?
2 projects | reddit.com/r/golang | 19 Feb 2021
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?
3 projects | reddit.com/r/golang | 26 Jan 2021
https://github.com/kelseyhightower/envconfig is also popular
What are some alternatives?
viper - Go configuration with fangs
argparse - Argparse for golang. Just because `flag` sucks
env - A simple and zero-dependencies library to parse environment variables into structs.
cobra - A Commander for modern Go CLI interactions
go-ssm-config - Go utility for loading configuration parameters from AWS SSM (Parameter Store)
flag - Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
configuro - An opinionated configuration loading framework for Containerized and Cloud-Native applications.
ini - Package ini provides INI file read and write functionality in Go
confita - Load configuration in cascade from multiple backends into a struct
go-flags - go command line option parser
koanf - Simple, lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.