Documentation ¶
Overview ¶
Package structs implements a koanf.Provider that takes a struct and tag and returns a nested config map (using fatih/structs) to provide it to koanf.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Structs ¶
type Structs struct {
// contains filtered or unexported fields
}
Structs implements a structs provider.
func Provider ¶
Provider returns a provider that takes a takes a struct and a struct tag and uses structs to parse and provide it to koanf.
func ProviderWithDelim ¶
ProviderWithDelim returns a provider that takes a struct and a struct tag along with a delim and uses structs to parse and provide it to koanf.
Click to show internal directories.
Click to hide internal directories.