A DecoderConfigOption can be passed to viper.Unmarshal to configure mapstructure.DecoderConfig options.
func(*mapstructure.DecoderConfig)
| 90 | // A DecoderConfigOption can be passed to viper.Unmarshal to configure |
| 91 | // mapstructure.DecoderConfig options. |
| 92 | type DecoderConfigOption func(*mapstructure.DecoderConfig) |
| 93 | |
| 94 | // DecodeHook returns a DecoderConfigOption which overrides the default |
| 95 | // DecoderConfig.DecodeHook value, the default is: |
nothing calls this directly
no outgoing calls
no test coverage detected