ainsleyclark/stock-informer

View on GitHub
httputil/client.go

Summary

Maintainability
A
35 mins
Test Coverage

Method httpClient.Do has 5 return statements (exceeds 4 allowed).
Open

func (h *httpClient) Do(url, method string) (*Response, error) {
    const op = "HTTPClient.Do"
    resp, err := h.cycle.Do(url, options, method)

    // Setup the response data.
Severity: Major
Found in httputil/client.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status