mime/multipartutil/multipart_request.go
Function NewRequest
has 5 return statements (exceeds 4 allowed). Open
Open
func NewRequest(method, url string, params url.Values, files []FileInfo) (*http.Request, error) {
mb := NewMultipartBuilder()
err := mb.WriteURLValues(params)
if err != nil {
return nil, err