MCPcopy Create free account
hub / github.com/ardanlabs/kit / Decode

Method Decode

mapstructure/mapstructure.go:222–224  ·  view source on GitHub ↗

Decode decodes the given raw interface to the target pointer specified by the configuration.

(raw interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

TestDecode_DecodeHookFunction · 0.95
TestDecoder_ErrorUnusedFunction · 0.95
TestMetadataFunction · 0.95
TestMetadata_EmbeddedFunction · 0.95
Benchmark_DecodeMetadataFunction · 0.95
ExampleDecode_metadataFunction · 0.95
DecodeFunction · 0.95
UnmarshalFunction · 0.80

Calls 1

decodeMethod · 0.95

Tested by 10

TestDecode_DecodeHookFunction · 0.76
TestDecoder_ErrorUnusedFunction · 0.76
TestMetadataFunction · 0.76
TestMetadata_EmbeddedFunction · 0.76
Benchmark_DecodeMetadataFunction · 0.76
ExampleDecode_metadataFunction · 0.76