goconf:GoConf 是 Golang 的 JSON 配置文件加载器
GoConf
GoConf is a JSON configure file loader for golang. It supports multiple layers configure items and can get item value directly by path, etc '/Porject1/ModuleA/Item1'.
It is very simple for use. You can install it by
go get github.com/pantsing/goconf
example_test.go provides an example.
and more details in here
GoConf用于Golang程序加载JSON格式配置文件,支持多层级配置项及按层级路径读取配置项。
GoConf使用非常简单,你可以通过如下命令安装
go