mirror of
https://github.com/gin-gonic/gin.git
synced 2025-08-06 07:40:39 +08:00
Renames Validate() to validate()
This commit is contained in:
@ -20,5 +20,5 @@ func (_ formBinding) Bind(req *http.Request, obj interface{}) error {
|
||||
if err := mapForm(obj, req.Form); err != nil {
|
||||
return err
|
||||
}
|
||||
return Validate(obj)
|
||||
return validate(obj)
|
||||
}
|
||||
|
Reference in New Issue
Block a user