AddCommonQueryParam add a URL query parameter with a key-value pair for requests fired from the client.
(key, value string)
| 433 | // AddCommonQueryParam add a URL query parameter with a key-value |
| 434 | // pair for requests fired from the client. |
| 435 | func (c *Client) AddCommonQueryParam(key, value string) *Client { |
| 436 | if c.QueryParams == nil { |
| 437 | c.QueryParams = make(urlpkg.Values) |
| 438 | } |
| 439 | c.QueryParams.Add(key, value) |
| 440 | return c |
| 441 | } |
| 442 | |
| 443 | // AddCommonQueryParams add one or more values of specified URL query parameter |
| 444 | // for requests fired from the client. |