conf
Package conf provides support for using environmental variables and command line arguments for configuration. (by ardanlabs)
copre
A small library to load configuration from multiple sources with predefined precedence (by trevex)
conf | copre | |
---|---|---|
2 | 2 | |
219 | 11 | |
2.3% | - | |
4.9 | 0.0 | |
6 months ago | over 2 years ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
conf
Posts with mentions or reviews of conf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-16.
copre
Posts with mentions or reviews of copre.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-16.
-
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?
When comparing conf and copre you can also consider the following projects:
go-envconfig - A Go library for parsing struct tags from environment variables.
go-yamlcfg
ff - Flags-first package for configuration
xflags - Expressive flags for Go
cleanenv - ✨Clean and minimalistic environment configuration reader for Golang
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
confetti - A minimal configuration manager for Go applications.
kong - Kong is a command-line parser for Go