Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
109
func
(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
NewCodecRegistry
Function · 0.95
RegisterCodec
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected