MCPcopy
hub / github.com/segmentio/kafka-go / typeOf

Function typeOf

protocol/reflect.go:14–16  ·  view source on GitHub ↗
(x interface{})

Source from the content-addressed store, hash-verified

12type _type struct{ typ reflect.Type }
13
14func typeOf(x interface{}) _type {
15 return makeType(reflect.TypeOf(x))
16}
17
18func elemTypeOf(x interface{}) _type {
19 return makeType(reflect.TypeOf(x).Elem())

Callers 1

MarshalFunction · 0.70

Calls 1

makeTypeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…