SetFile is a global wrapper methods which delegated to the default client, create a request and SetFile for request.
(paramName, filePath string)
| 83 | // SetFile is a global wrapper methods which delegated |
| 84 | // to the default client, create a request and SetFile for request. |
| 85 | func SetFile(paramName, filePath string) *Request { |
| 86 | return defaultClient.R().SetFile(paramName, filePath) |
| 87 | } |
| 88 | |
| 89 | // SetFileUpload is a global wrapper methods which delegated |
| 90 | // to the default client, create a request and SetFileUpload for request. |