MCPcopy
hub / github.com/mitchellh/mapstructure / DecodeHookFunc

Interface DecodeHookFunc

mapstructure.go:185–185  ·  mapstructure.go::DecodeHookFunc

DecodeHookFunc is the callback function that can be used for data transformations. See "DecodeHook" in the DecoderConfig struct. The type must be one of DecodeHookFuncType, DecodeHookFuncKind, or DecodeHookFuncValue. Values are a superset of Types (Values can return types), and Types are a superset

Source from the content-addressed store, hash-verified

183// but have a promise to not break backwards compat so we now support
184// both.
185type DecodeHookFunc interface{}
186
187// DecodeHookFuncType is a DecodeHookFunc which has complete information about
188// the source and target types.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected