MCPcopy Create free account
hub / github.com/DataDog/jsonapi / derefType

Function derefType

reflect.go:21–27  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

19}
20
21func derefType(t reflect.Type) reflect.Type {
22 switch t.Kind() {
23 case reflect.Pointer:
24 return derefType(t.Elem())
25 }
26 return t
27}
28
29func recoverError(rvr any) error {
30 var err error

Callers 7

TestDerefTypeFunction · 0.85
unmarshalResourceObjectsFunction · 0.85
unmarshalMethod · 0.85
unmarshalFieldsMethod · 0.85
checkMetaFunction · 0.85
makeDocumentFunction · 0.85
makeResourceObjectMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestDerefTypeFunction · 0.68