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