Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetDefault ¶
type SetDefault interface {
SetDefault(key string, value interface{})
}
SetDefault is an interface to abstract setting Viper defaults. (e.g. Allows adding a key prefix to every call to SetDefault when used with SetDefaultFunc.)
type SetDefaultFunc ¶
type SetDefaultFunc func(key string, value interface{})
SetDefaultFunc implements SetDefault.
func (SetDefaultFunc) SetDefault ¶
func (f SetDefaultFunc) SetDefault(key string, value interface{})
See SetDefault interface.
Click to show internal directories.
Click to hide internal directories.