remove useless comments
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -339,7 +339,6 @@ func (v *Validation) Valid(obj interface{}) (b bool, err error) { | ... | @@ -339,7 +339,6 @@ func (v *Validation) Valid(obj interface{}) (b bool, err error) { |
| 339 | // Step1: Validate by v.Valid | 339 | // Step1: Validate by v.Valid |
| 340 | // Step2: If pass on step1, then reflect obj's fields | 340 | // Step2: If pass on step1, then reflect obj's fields |
| 341 | // Step3: Do the Recursively validation to all struct or struct pointer fields | 341 | // Step3: Do the Recursively validation to all struct or struct pointer fields |
| 342 | // Anonymous fields will be ignored | ||
| 343 | func (v *Validation) RecursiveValid(objc interface{}) (bool, error) { | 342 | func (v *Validation) RecursiveValid(objc interface{}) (bool, error) { |
| 344 | //Step 1: validate obj itself firstly | 343 | //Step 1: validate obj itself firstly |
| 345 | // fails if objc is not struct | 344 | // fails if objc is not struct | ... | ... |
-
Please register or sign in to post a comment