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

Method init

encoding.go:109–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func (r *DefaultCodecRegistry) init() {
110 r.once.Do(func() {
111 r.codecs = map[string]Codec{}
112 })
113}
114
115// RegisterCodec registers a custom [Codec].
116//

Callers 2

NewCodecRegistryFunction · 0.95
RegisterCodecMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected