QueryString returns the first value associated with the given key.
(key string)
| 67 | |
| 68 | // QueryString returns the first value associated with the given key. |
| 69 | func (req *Request) QueryString(key string) string { |
| 70 | return req.URL.Query().Get(key) |
| 71 | } |
| 72 | |
| 73 | // ExistsQueryKey check is exists from query params with the given key. |
| 74 | func (req *Request) ExistsQueryKey(key string) bool { |