Documentation ¶
Index ¶
- func AllSettings() map[string]interface{}
- func Get(key string) interface{}
- func GetBool(key string) bool
- func GetInt(key string) int
- func GetString(key string) string
- func GetStringSlice(key string) []string
- func Init(args ...string)
- func Unmarshal(config interface{}) error
- func UnmarshalKey(key string, config interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalKey ¶
UnmarshalKey 根据key解析配置到指定的结构中
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.