gookit/config
gcfg
Our great sponsors
gookit/config | gcfg | |
---|---|---|
3 | - | |
519 | 165 | |
1.0% | 0.0% | |
7.7 | 0.0 | |
about 1 month ago | almost 3 years ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
gookit/config
-
topoconfig: enhancing config declarations with graphs
gookit/config
-
How to read .env file with a variable that contains $ ?
In that case, you should not be using the shell to read the .env file; instead, use a library. I recommend https://github.com/gookit/config
- GitHub - gookit/config: 📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var, binding data to struct.
gcfg
We haven't tracked posts mentioning gcfg yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
viper - Go configuration with fangs
go-env - Golang handling of environment values
goConfig - goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
konfig - Composable, observable and performant config handling for Go for the distributed processing era
envcfg - Un-marshaling environment variables to Go structs
ini - Package ini provides INI file read and write functionality in Go
mini - A golang package for parsing ini-style configuration files
toml - Instream TOML to JSON encoder
ingo - persistent storage for flags in go
configure - Configure is a Go package that gives you easy configuration of your project through redundancy
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.