GetQueryArray returns a slice of strings for a given query key, plus a boolean value whether at least one value exists for the given key.
(key string)
| 578 | // GetQueryArray returns a slice of strings for a given query key, plus |
| 579 | // a boolean value whether at least one value exists for the given key. |
| 580 | func (c *Context) GetQueryArray(key string) (values []string, ok bool) { |
| 581 | c.initQueryCache() |
| 582 | values, ok = c.queryCache[key] |
| 583 | return |
| 584 | } |
| 585 | |
| 586 | // QueryMap returns a map for a given query key. |
| 587 | func (c *Context) QueryMap(key string) (dicts map[string]string) { |