SetCommonQueryParam set a URL query parameter with a key-value pair for requests fired from the client.
(key, value string)
| 477 | // SetCommonQueryParam set a URL query parameter with a key-value |
| 478 | // pair for requests fired from the client. |
| 479 | func (c *Client) SetCommonQueryParam(key, value string) *Client { |
| 480 | if c.QueryParams == nil { |
| 481 | c.QueryParams = make(urlpkg.Values) |
| 482 | } |
| 483 | c.QueryParams.Set(key, value) |
| 484 | return c |
| 485 | } |
| 486 | |
| 487 | // SetCommonQueryString set URL query parameters with a raw query string |
| 488 | // for requests fired from the client. |
no outgoing calls