Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-playground/validator
/ Kind
Method
Kind
errors.go:140–140 ·
view source on GitHub ↗
Kind returns the Field's reflect Kind eg. time.Time's kind is a struct
()
Source
from the content-addressed store, hash-verified
138
//
139
// eg. time.Time's kind is a struct
140
Kind() reflect.Kind
141
142
// Type returns the Field's reflect Type
143
//
Callers
15
tryCallValidateFn
Function · 0.65
traverseField
Method · 0.65
getValue
Function · 0.65
TestStructLevelInvalidError
Function · 0.65
TestStructSliceValidation
Function · 0.65
TestAbilityToValidateNils
Function · 0.65
extractTypeInternal
Method · 0.65
getStructFieldOKInternal
Method · 0.65
fieldMatchesRegexByStringerValOrString
Function · 0.65
isOneOf
Function · 0.65
isOneOfCI
Function · 0.65
isUnique
Function · 0.65
Implementers
1
fieldError
errors.go
Calls
no outgoing calls
Tested by
3
TestStructLevelInvalidError
Function · 0.52
TestStructSliceValidation
Function · 0.52
TestAbilityToValidateNils
Function · 0.52