1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-11 16:41:01 +00:00

golint all the files

This commit is contained in:
astaxie
2016-01-18 00:18:21 +08:00
parent da36d1d0e7
commit f925bb9058
16 changed files with 45 additions and 43 deletions

View File

@ -393,10 +393,8 @@ func (c *Controller) GetStrings(key string, def ...[]string) []string {
if f := c.Input(); f == nil {
return defv
} else {
if vs := f[key]; len(vs) > 0 {
return vs
}
} else if vs := f[key]; len(vs) > 0 {
return vs
}
return defv