GetPostFormMap returns a map for a given form key, plus a boolean value whether at least one value exists for the given key.
(key string)
| 665 | // GetPostFormMap returns a map for a given form key, plus a boolean value |
| 666 | // whether at least one value exists for the given key. |
| 667 | func (c *Context) GetPostFormMap(key string) (map[string]string, bool) { |
| 668 | c.initFormCache() |
| 669 | return getMapFromFormData(c.formCache, key) |
| 670 | } |
| 671 | |
| 672 | // getMapFromFormData return a map which satisfies conditions. |
| 673 | // It parses from data with bracket notation like "key[subkey]=value" into a map. |