Get is a global wrapper methods which delegated to the default client, create a request and Get for request.
(url string)
| 225 | // Get is a global wrapper methods which delegated |
| 226 | // to the default client, create a request and Get for request. |
| 227 | func Get(url string) (*Response, error) { |
| 228 | return defaultClient.R().Get(url) |
| 229 | } |
| 230 | |
| 231 | // MustPost is a global wrapper methods which delegated |
| 232 | // to the default client, create a request and Get for request. |