cleanenv
Our great sponsors
go-yamlcfg | cleanenv | |
---|---|---|
1 | 2 | |
0 | 1,453 | |
- | - | |
2.6 | 4.4 | |
6 months ago | 20 days 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.
go-yamlcfg
-
I'm looking for a good alternativ to Viper
For config I ended up making wrapper for YAML parser that did the "pick a config from list list" and "generate default config" features. But my config needs are not that big
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?
go-envconfig - A Go library for parsing struct tags from environment variables.
viper - Go configuration with fangs
ff - Flags-first package for configuration
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.
kong - Kong is a command-line parser for Go
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
conf - Package conf provides support for using environmental variables and command line arguments for configuration.
confita - Load configuration in cascade from multiple backends into a struct