5534258e by Wyatt Fang

remove useless comments

1 parent 73650e1f
...@@ -338,7 +338,6 @@ func (v *Validation) Valid(obj interface{}) (b bool, err error) { ...@@ -338,7 +338,6 @@ func (v *Validation) Valid(obj interface{}) (b bool, err error) {
338 // Step1: Validate by v.Valid 338 // Step1: Validate by v.Valid
339 // Step2: If pass on step1, then reflect obj's fields 339 // Step2: If pass on step1, then reflect obj's fields
340 // Step3: Do the Recursively validation to all struct or struct pointer fields 340 // Step3: Do the Recursively validation to all struct or struct pointer fields
341 // Anonymous fields will be ignored
342 func (v *Validation) RecursiveValid(objc interface{}) (bool, error) { 341 func (v *Validation) RecursiveValid(objc interface{}) (bool, error) {
343 //Step 1: validate obj itself firstly 342 //Step 1: validate obj itself firstly
344 // fails if objc is not struct 343 // fails if objc is not struct
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!