mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 08:50:39 +00:00
gofmt -s & go_vet
This commit is contained in:
@ -137,7 +137,7 @@ func getRegFuncs(tag, key string) (vfs []ValidFunc, str string, err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
vfs = []ValidFunc{ValidFunc{"Match", []interface{}{reg, key + ".Match"}}}
|
||||
vfs = []ValidFunc{{"Match", []interface{}{reg, key + ".Match"}}}
|
||||
str = strings.TrimSpace(tag[:index]) + strings.TrimSpace(tag[end+len("/)"):])
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user