MCPcopy Index your code
hub / github.com/cockroachdb/errors / init

Function init

markers/markers.go:281–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279}
280
281func init() {
282 errbase.RegisterWrapperEncoder(errbase.GetTypeKey((*withMark)(nil)), encodeMark)
283 errbase.RegisterWrapperDecoder(errbase.GetTypeKey((*withMark)(nil)), decodeMark)
284}

Callers

nothing calls this directly

Calls 3

RegisterWrapperEncoderFunction · 0.92
GetTypeKeyFunction · 0.92
RegisterWrapperDecoderFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…