mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 02:30:18 +00:00
golint all the files
This commit is contained in:
@ -56,9 +56,10 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
// CustomFunc is for custom validate function
|
||||
type CustomFunc func(v *Validation, obj interface{}, key string)
|
||||
|
||||
// Add a custom function to validation
|
||||
// AddCustomFunc Add a custom function to validation
|
||||
// The name can not be:
|
||||
// Clear
|
||||
// HasErrors
|
||||
|
Reference in New Issue
Block a user