xflags
cleanenv
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.
xflags
-
I'm looking for a good alternativ to Viper
Self promo: it won’t help with the config file side of things but should elegantly cover the flags and environment variables: https://github.com/cavaliergopher/xflags.
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
What are some alternatives?
ff - Flags-first package for configuration
viper - Go configuration with fangs
go-envconfig - A Go library for parsing struct tags from environment variables.
env - A simple and zero-dependencies library to parse environment variables into structs
conf - Package conf provides support for using environmental variables and command line arguments for configuration.
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
go-yamlcfg
toml - Instream TOML to JSON encoder
copre - A small library to load configuration from multiple sources with predefined precedence
go-conf - Library for easy configuration of a golang service
urfave/cli - A simple, fast, and fun package for building command line apps in Go
confita - Load configuration in cascade from multiple backends into a struct