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

@ -21,5 +21,5 @@ func (_ jsonBinding) Bind(req *http.Request, obj interface{}) error {
if err := decoder.Decode(obj); err != nil {
return err
}
return Validate(obj)
return validate(obj)
}