mirror of
https://github.com/astaxie/beego.git
synced 2024-11-17 18:00:55 +00:00
remove useless comments
This commit is contained in:
parent
73650e1f2b
commit
5534258e22
@ -338,7 +338,6 @@ func (v *Validation) Valid(obj interface{}) (b bool, err error) {
|
|||||||
// Step1: Validate by v.Valid
|
// Step1: Validate by v.Valid
|
||||||
// Step2: If pass on step1, then reflect obj's fields
|
// Step2: If pass on step1, then reflect obj's fields
|
||||||
// Step3: Do the Recursively validation to all struct or struct pointer fields
|
// Step3: Do the Recursively validation to all struct or struct pointer fields
|
||||||
// Anonymous fields will be ignored
|
|
||||||
func (v *Validation) RecursiveValid(objc interface{}) (bool, error) {
|
func (v *Validation) RecursiveValid(objc interface{}) (bool, error) {
|
||||||
//Step 1: validate obj itself firstly
|
//Step 1: validate obj itself firstly
|
||||||
// fails if objc is not struct
|
// fails if objc is not struct
|
||||||
|
Loading…
Reference in New Issue
Block a user