1 Star 1 Fork 0

吴文凯/core-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config_test.go 268 Bytes
一键复制 编辑 原始数据 按行查看 历史
[email protected] 提交于 2021-09-03 14:47 . add conf
package conf
import (
"fmt"
"testing"
)
func TestInitConfg(t *testing.T) {
conf := InitConfg()
fmt.Println(conf)
}
func TestSettings_Getd(t *testing.T) {
v := GetConf().Setting.GetChildd("test1").GetChildd("test2").GetStringd("test3","value")
fmt.Println(v)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/whilew/core-go.git
[email protected]:whilew/core-go.git
whilew
core-go
core-go
main

搜索帮助