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

Method Decoder

encoding.go:49–49  ·  view source on GitHub ↗
(format string)

Source from the content-addressed store, hash-verified

47// [DecoderRegistry] returns an error if no [Decoder] is registered for the format.
48type DecoderRegistry interface {
49 Decoder(format string) (Decoder, error)
50}
51
52// [CodecRegistry] combines [EncoderRegistry] and [DecoderRegistry] interfaces.

Callers 2

unmarshalReaderMethod · 0.65
TestDefaultCodecRegistryFunction · 0.65

Implementers 1

Calls

no outgoing calls

Tested by 1

TestDefaultCodecRegistryFunction · 0.52