We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Let's collect some more or less obvious tips here.
If you need to customize unmarshaling look at mapstructure config options and you can set it like that:
// if you need error on unknown fields in your config file viper.Unmarshal(&f.d, func(config *mapstructure.DecoderConfig) { config.ErrorUnused = true })
There was an error while loading. Please reload this page.