mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 20:51:29 +00:00
remove useless comments
This commit is contained in:
parent
74b22649c8
commit
dfe055c47c
@ -339,7 +339,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