cleanenv
copre
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.
cleanenv
-
Configuration in microservices
I’m using this with yaml configurations https://github.com/ilyakaznacheev/cleanenv Supports env aswell
-
I'm looking for a good alternativ to Viper
check this package: https://github.com/ilyakaznacheev/cleanenv
copre
-
I'm looking for a good alternativ to Viper
Shameless self-promotion: I encountered the same pain points and put together a small library to tie together multiple configuration sources. As I still really like cobra it is intended to be used with pflags.
-
Copre 0.1.0 - Library for config precedence
Github: github.com/trevex/copre
What are some alternatives?
viper - Go configuration with fangs
go-yamlcfg
env - A simple and zero-dependencies library to parse environment variables into structs
xflags - Expressive flags for Go
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
ff - Flags-first package for configuration
toml - Instream TOML to JSON encoder
conf - Package conf provides support for using environmental variables and command line arguments for configuration.
go-conf - Library for easy configuration of a golang service
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
confita - Load configuration in cascade from multiple backends into a struct
go-envconfig - A Go library for parsing struct tags from environment variables.