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

remove useless comments

This commit is contained in:
Wyatt Fang 2015-04-24 11:17:12 +08:00
parent 73650e1f2b
commit 5534258e22

View File

@ -338,7 +338,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