comment
Golang package for use comments in JSON config files (by toelsiba)
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. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名 (by gookit)
comment | gookit/config | |
---|---|---|
- | 3 | |
0 | 522 | |
- | 0.4% | |
0.0 | 7.7 | |
over 6 years ago | 2 months ago | |
Go | Go | |
MIT License | 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.
comment
Posts with mentions or reviews of comment.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning comment yet.
Tracking mentions began in Dec 2020.
gookit/config
Posts with mentions or reviews of gookit/config.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-03.
-
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.
What are some alternatives?
When comparing comment and gookit/config you can also consider the following projects:
ini - Package ini provides INI file read and write functionality in Go
viper - Go configuration with fangs
onion - Layer based configuration for golang
go-env - Golang handling of environment values
envconf - Configure Go applications from the environment
konfig - Composable, observable and performant config handling for Go for the distributed processing era
gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections
ingo - persistent storage for flags in go
envcfg - Un-marshaling environment variables to Go structs
toml - Instream TOML to JSON encoder