Renames Validate() to validate()

This commit is contained in:
Manu Mtz-Almeida
2015-05-31 16:30:00 +02:00
parent fecde9fed6
commit 0c9f086b74
6 changed files with 14 additions and 12 deletions

View File

@ -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)
}