Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gin-gonic/gin
/ validate
Function
validate
binding/binding.go:122–127 ·
view source on GitHub ↗
(obj any)
Source
from the content-addressed store, hash-verified
120
}
121
122
func
validate(obj any) error {
123
if
Validator == nil {
124
return
nil
125
}
126
return
Validator.ValidateStruct(obj)
127
}
Callers
15
Bind
Method · 0.70
decodeMsgPack
Function · 0.70
Bind
Method · 0.70
Bind
Method · 0.70
Bind
Method · 0.70
Bind
Method · 0.70
decodeXML
Function · 0.70
decodeYAML
Function · 0.70
decodeToml
Function · 0.70
TestValidateNoValidationValues
Function · 0.70
TestValidateNoValidationPointers
Function · 0.70
TestValidatePrimitives
Function · 0.70
Calls
1
ValidateStruct
Method · 0.65
Tested by
5
TestValidateNoValidationValues
Function · 0.56
TestValidateNoValidationPointers
Function · 0.56
TestValidatePrimitives
Function · 0.56
TestValidateAndModifyStruct
Function · 0.56
TestValidatorEngine
Function · 0.56