gookit/config
go-env
Our great sponsors
gookit/config | go-env | |
---|---|---|
3 | - | |
520 | 1 | |
1.2% | - | |
7.7 | 3.8 | |
about 2 months ago | 8 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
go-env
We haven't tracked posts mentioning go-env yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
viper - Go configuration with fangs
env - A simple and zero-dependencies library to parse environment variables into structs
konfig - Composable, observable and performant config handling for Go for the distributed processing era
CONFLATE - Library providing routines to merge and validate JSON, YAML and/or TOML files
gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections
ini - Package ini provides INI file read and write functionality in Go
joshbetz/config - 🛠 A configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP.
toml - Instream TOML to JSON encoder
mollyDB - A GraphQL configuration file database
configure - Configure is a Go package that gives you easy configuration of your project through redundancy
envconf - Configure Go applications from the environment