Documentation
¶
Index ¶
- type Koanf
- func (_m *Koanf) Bool(path string) bool
- func (_m *Koanf) Exists(path string) bool
- func (_m *Koanf) Int64(path string) int64
- func (_m *Koanf) Load(p koanf.Provider, pa koanf.Parser, opts ...koanf.Option) error
- func (_m *Koanf) Set(key string, val interface{}) error
- func (_m *Koanf) String(path string) string
- func (_m *Koanf) Strings(path string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Koanf ¶
Koanf is an autogenerated mock type for the Koanf type
func NewKoanf ¶
NewKoanf creates a new instance of Koanf. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.