Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Env = "prod"
Functions ¶
func GetConfigMap ¶
根据配置节点key获取配置的map,key==""时获取所有配置
func UnmarshalKey ¶
func UnmarshalKey(key string, rawVal interface{}, opts ...viper.DecoderConfigOption) error
获取子节点配置,对象化
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.