1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 14:30:50 +00:00

remove useless comments

This commit is contained in:
Wyatt Fang 2015-04-24 11:17:12 +08:00 committed by astaxie
parent 74b22649c8
commit dfe055c47c

View File

@ -339,7 +339,6 @@ func (v *Validation) Valid(obj interface{}) (b bool, err error) {
// Step1: Validate by v.Valid
// Step2: If pass on step1, then reflect obj's 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) {
//Step 1: validate obj itself firstly
// fails if objc is not struct