Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Viper ¶
func Viper(configPath, configFileName, configType string, watch func(in fsnotify.Event)) *viper.Viper
Viper *****************************************************
- @Description: 解析配置文件
- @param configPath 配置文件路径
- @param configFile 配置文件名称
- @param configType 配置文件类型
- @return *viper.Viper *****************************************************
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.