grokify/mogo

View on GitHub
mime/multipartutil/multipart_request.go

Summary

Maintainability
A
35 mins
Test Coverage

Function NewRequest has 5 return statements (exceeds 4 allowed).
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
Severity: Major
Found in mime/multipartutil/multipart_request.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status