This commit is contained in:
Barnabus
2018-11-05 16:17:04 +10:00
committed by thinkerou
parent 4f488aca55
commit 7a374f9a47
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func (protobufBinding) BindBody(body []byte, obj interface{}) error {
if err := proto.Unmarshal(body, obj.(proto.Message)); err != nil {
return err
}
// Here it's same to return validate(obj), but util now we cann't add
// Here it's same to return validate(obj), but util now we can't add
// `binding:""` to the struct which automatically generate by gen-proto
return nil
// return validate(obj)