摘要: 一.下载包 go get github.com/spf13/viper 二.源码 1 func LoadConf(fpname string) { 2 ini := viper.New() 3 ini.SetConfigFile(fpname) 4 5 ini.SetDefault("databas 阅读全文
posted @ 2023-12-16 14:19 看一百次夜空里的深蓝 阅读(195) 评论(0) 推荐(0)