MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / encodeInterfaceValue

Function encodeInterfaceValue

encode_value.go:177–182  ·  view source on GitHub ↗
(e *Encoder, v reflect.Value)

Source from the content-addressed store, hash-verified

175}
176
177func encodeInterfaceValue(e *Encoder, v reflect.Value) error {
178 if v.IsNil() {
179 return e.EncodeNil()
180 }
181 return e.EncodeValue(v.Elem())
182}
183
184func encodeErrorValue(e *Encoder, v reflect.Value) error {
185 if v.IsNil() {

Callers

nothing calls this directly

Calls 2

EncodeNilMethod · 0.80
EncodeValueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…