cleanenv
cleanenv | go-yamlcfg | |
---|---|---|
2 | 1 | |
1,465 | 0 | |
- | - | |
4.4 | 2.6 | |
28 days ago | 6 months 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.
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
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
What are some alternatives?
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
ff - Flags-first package 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.
xflags - Expressive flags for Go
toml - Instream TOML to JSON encoder
kong - Kong is a command-line parser for Go
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
conf - Package conf provides support for using environmental variables and command line arguments for configuration.