MCPcopy
hub / github.com/gogf/gf / Kind

Method Kind

os/gstructs/gstructs_field.go:79–81  ·  view source on GitHub ↗

Kind returns the reflect.Kind for Value of Field `f`.

()

Source from the content-addressed store, hash-verified

77
78// Kind returns the reflect.Kind for Value of Field `f`.
79func (f *Field) Kind() reflect.Kind {
80 return f.Value.Kind()
81}
82
83// OriginalKind retrieves and returns the original reflect.Kind for Value of Field `f`.
84func (f *Field) OriginalKind() reflect.Kind {

Callers 15

convertOptionToArgsFunction · 0.80
ConvertValueForFieldMethod · 0.80
ConvertValueForFieldMethod · 0.80
SpecialCharsMapOrStructFunction · 0.80
ConvertValueForFieldMethod · 0.80
GetPrimaryKeyConditionFunction · 0.80
formatWhereKeyValueFunction · 0.80
doWithScanStructMethod · 0.80
getHashValueFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestMapWithMapOptionFunction · 0.64
testAnyToSqlNullTypeFunction · 0.64