Merge 7f18bf3b400ce654a1b8a6e85e22e3e92a4abcde into 077a2f39c85700ba0823f85ed29cec0c8f2cbdfc

This commit is contained in:
dependeryadavO 2025-08-19 11:31:47 +03:00 committed by GitHub
commit 8948fcbdc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -563,6 +563,13 @@ func (c *Context) GetQueryArray(key string) (values []string, ok bool) {
return
}
// GetAllQueryParams check cache and return query cache
// If not found cache, parses RawQuery and returns the corresponding values.
func (c *Context) GetAllQueryParams() (params map[string][]string) {
c.initQueryCache()
return c.queryCache
}
// QueryMap returns a map for a given query key.
func (c *Context) QueryMap(key string) (dicts map[string]string) {
dicts, _ = c.GetQueryMap(key)