mirror of
https://github.com/beego/bee.git
synced 2024-11-24 18:30:53 +00:00
gosimple
This commit is contained in:
parent
0d0e583346
commit
0000e7d7c9
@ -822,7 +822,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