From e18e2a9e23365ee088745782ead485ac94f945b1 Mon Sep 17 00:00:00 2001 From: bestgopher <84328409@qq.com> Date: Sat, 25 Apr 2020 11:36:36 +0800 Subject: [PATCH] modify: instead of --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index a2384c0e..4d0ca092 100644 --- a/context.go +++ b/context.go @@ -426,7 +426,7 @@ func (c *Context) GetQueryArray(key string) ([]string, bool) { if values, ok := c.queryCache[key]; ok && len(values) > 0 { return values, true } - return []string{}, false + return nil, false } // QueryMap returns a map for a given query key.