ExistsQueryKey check is exists from query params with the given key.
(key string)
| 72 | |
| 73 | // ExistsQueryKey check is exists from query params with the given key. |
| 74 | func (req *Request) ExistsQueryKey(key string) bool { |
| 75 | _, isExists := req.URL.Query()[key] |
| 76 | return isExists |
| 77 | } |
| 78 | |
| 79 | // FormFile get file by form key |
| 80 | func (req *Request) FormFile(key string) (*UploadFile, error) { |