1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 06:40:40 +00:00

fix golint comments

This commit is contained in:
BorisBorshevsky
2017-11-25 19:16:37 +02:00
parent a5dd5d161d
commit df37739c7d
8 changed files with 17 additions and 13 deletions

View File

@ -278,7 +278,7 @@ func (v *Validation) apply(chk Validator, obj interface{}) *Result {
}
}
// Add independent error message for key
// AddError adds independent error message for the provided key
func (v *Validation) AddError(key, message string) {
Name := key
Field := ""