SetQueryParams set URL query parameters from a map for the request.
(params map[string]string)
| 570 | |
| 571 | // SetQueryParams set URL query parameters from a map for the request. |
| 572 | func (r *Request) SetQueryParams(params map[string]string) *Request { |
| 573 | for k, v := range params { |
| 574 | r.SetQueryParam(k, v) |
| 575 | } |
| 576 | return r |
| 577 | } |
| 578 | |
| 579 | // SetQueryParamsAnyType set URL query parameters from a map for the request. |
| 580 | // The value of map is any type, will be convert to string automatically. |