Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Viper = viper.New()
Viper 提供Viper单实例使用
Functions ¶
func FlagConfigPath ¶
func MarshalToFile ¶
MarshalToFile 结构体生成文件,方便部署等
func UnmarshalDefaultVal ¶
func UnmarshalDefaultVal(config interface{}) error
UnmarshalDefaultVal 结构体 Tag 默认值
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.