MCPcopy
hub / github.com/spf13/viper / DecoderConfigOption

FuncType DecoderConfigOption

viper.go:92–92  ·  viper.go::DecoderConfigOption

A DecoderConfigOption can be passed to viper.Unmarshal to configure mapstructure.DecoderConfig options.

func(*mapstructure.DecoderConfig)

Source from the content-addressed store, hash-verified

90// A DecoderConfigOption can be passed to viper.Unmarshal to configure
91// mapstructure.DecoderConfig options.
92type DecoderConfigOption func(*mapstructure.DecoderConfig)
93
94// DecodeHook returns a DecoderConfigOption which overrides the default
95// DecoderConfig.DecodeHook value, the default is:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected