1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 03:21:29 +00:00

fix gosimple

This commit is contained in:
Eyal Post 2017-05-17 20:50:41 +03:00
parent 828cbbdf5d
commit ee1d8bc30e

View File

@ -235,7 +235,7 @@ func getparams(str string) []string {
var start bool var start bool
var r []string var r []string
var quoted int8 var quoted int8
for _, c := range []rune(str) { for _, c := range str {
if unicode.IsSpace(c) && quoted == 0 { if unicode.IsSpace(c) && quoted == 0 {
if !start { if !start {
continue continue