Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CONFIG *config
Functions ¶
func InitConfiguration ¶
func InitConfiguration()
InitConfiguration 初始化配置 使用 viper 读取指定路径的指定文件,将内容映射到结构体里
func SaveBookConfig ¶
func SaveBookConfig(value interface{}) error
func SaveConfig
deprecated
func UnfoldMapToProperties ¶
UnfoldMapToProperties 展开嵌套结构体为 Properties 结构 必须是结构体,否则报错!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.