mirror of
https://github.com/astaxie/beego.git
synced 2025-04-09 08:00:23 +00:00
fix gosimple
This commit is contained in:
parent
828cbbdf5d
commit
ee1d8bc30e
@ -235,7 +235,7 @@ func getparams(str string) []string {
|
||||
var start bool
|
||||
var r []string
|
||||
var quoted int8
|
||||
for _, c := range []rune(str) {
|
||||
for _, c := range str {
|
||||
if unicode.IsSpace(c) && quoted == 0 {
|
||||
if !start {
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user