cleanenv
xflags
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
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.
What are some alternatives?
viper - Go configuration with fangs
ff - Flags-first package for configuration
env - A simple and zero-dependencies library to parse environment variables into structs
go-envconfig - A Go library for parsing struct tags from environment variables.
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
conf - Package conf provides support for using environmental variables and command line arguments for configuration.
toml - Instream TOML to JSON encoder
go-yamlcfg
go-conf - Library for easy configuration of a golang service
copre - A small library to load configuration from multiple sources with predefined precedence
confita - Load configuration in cascade from multiple backends into a struct
urfave/cli - A simple, fast, and fun package for building command line apps in Go