Documentation
¶
Index ¶
- func Get(key string) interface{}
- func GetBool(key string) bool
- func GetInt(key string) int
- func GetString(key string) string
- func GetStringMap(key string) map[string]interface{}
- func GetStringMapString(key string) map[string]string
- func GetStringSlice(key string) []string
- func GetViper() *viper.Viper
- func InitConfig(opts ...OptAction)
- func IsSet(key string) bool
- func Set(key string, value interface{})
- type OptAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStringMap ¶
func GetStringMapString ¶
func GetStringSlice ¶
func InitConfig ¶
func InitConfig(opts ...OptAction)
Types ¶
Click to show internal directories.
Click to hide internal directories.