mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 12:30:54 +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 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
|
||||||
|
Loading…
Reference in New Issue
Block a user