danstis/go-nitrado

View on GitHub
nitrado/nitrado.go

Summary

Maintainability
A
0 mins
Test Coverage

Method Client.NewRequest has 5 return statements (exceeds 4 allowed).
Wontfix

func (c *Client) NewRequest(method, urlStr string, body interface{}) (*http.Request, error) {
    if !strings.HasSuffix(c.BaseURI.Path, "/") {
        return nil, fmt.Errorf("BaseURI must have a trailing slash, but %q does not", c.BaseURI)
    }
    u, err := c.BaseURI.Parse(urlStr)
Severity: Major
Found in nitrado/nitrado.go - About 35 mins to fix

There are no issues that match your filters.

Category
Status