Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknowField = errors.New("unknown field")
ErrUnknowField returns when an unknown field appears in the config.
Functions ¶
func CheckForUnknownFields ¶
CheckForUnknownFields validates the config struct for unknown fields with the config map. If the field in the config is a map of a key and some value, need to use `mapstructure:,remain` and `prefix` tag with the key prefix, even it is empty string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.