GetPostFormArray returns a slice of strings for a given form key, plus a boolean value whether at least one value exists for the given key.
(key string)
| 651 | // GetPostFormArray returns a slice of strings for a given form key, plus |
| 652 | // a boolean value whether at least one value exists for the given key. |
| 653 | func (c *Context) GetPostFormArray(key string) (values []string, ok bool) { |
| 654 | c.initFormCache() |
| 655 | values, ok = c.formCache[key] |
| 656 | return |
| 657 | } |
| 658 | |
| 659 | // PostFormMap returns a map for a given form key. |
| 660 | func (c *Context) PostFormMap(key string) (dicts map[string]string) { |