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:
@ -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 := ""
|
||||
|
Reference in New Issue
Block a user