GetQueryMap returns a map for a given query key, plus a boolean value whether at least one value exists for the given key.
(key string)
| 592 | // GetQueryMap returns a map for a given query key, plus a boolean value |
| 593 | // whether at least one value exists for the given key. |
| 594 | func (c *Context) GetQueryMap(key string) (map[string]string, bool) { |
| 595 | c.initQueryCache() |
| 596 | return getMapFromFormData(c.queryCache, key) |
| 597 | } |
| 598 | |
| 599 | // PostForm returns the specified key from a POST urlencoded form or multipart form |
| 600 | // when it exists, otherwise it returns an empty string `("")`. |