Documentation ¶
Index ¶
- func AddConfigPath(in string)
- func AllSettings() map[string]interface{}
- func GetBool(key string) bool
- func GetBoolWithDefault(key string, val bool) bool
- func GetInt(key string) int
- func GetIntSlice(key string) []int
- func GetIntWithDefault(key string, val int) int
- func GetString(key string) string
- func GetStringMapString(key string) map[string]string
- func GetStringSlice(key string) []string
- func GetStringWithDefault(key string, val string) string
- func IsSet(key string) bool
- func ReadInConfig() error
- func Reset()
- func Set(key string, value interface{})
- func SetConfigName(in string)
- type Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConfigPath ¶
func AddConfigPath(in string)
func AllSettings ¶
func AllSettings() map[string]interface{}
func GetBoolWithDefault ¶
func GetIntSlice ¶
func GetIntWithDefault ¶
func GetStringMapString ¶
func GetStringSlice ¶
func GetStringWithDefault ¶
func ReadInConfig ¶
func ReadInConfig() error
func SetConfigName ¶
func SetConfigName(in string)
Types ¶
Click to show internal directories.
Click to hide internal directories.