MCPcopy
hub / github.com/jmoiron/sqlx / Deref

Function Deref

reflectx/reflect.go:231–236  ·  view source on GitHub ↗

Deref is Indirect for reflect.Types

(t reflect.Type)

Source from the content-addressed store, hash-verified

229
230// Deref is Indirect for reflect.Types
231func Deref(t reflect.Type) reflect.Type {
232 if t.Kind() == reflect.Ptr {
233 t = t.Elem()
234 }
235 return t
236}
237
238// -- helpers & utilities --
239

Callers 7

scanAnyMethod · 0.92
scanAllFunction · 0.92
baseTypeFunction · 0.92
asSliceForInFunction · 0.92
TraversalsByNameFuncMethod · 0.85
FieldByIndexesFunction · 0.85
getMappingFunction · 0.85

Calls 1

KindMethod · 0.80

Tested by

no test coverage detected