topfreegames/khan

View on GitHub
bench/helpers.go

Summary

Maintainability
A
35 mins
Test Coverage

Function sendTo has 5 return statements (exceeds 4 allowed).
Open

func sendTo(method, url string, payload map[string]interface{}) (*http.Response, error) {
    payloadJSON, err := json.Marshal(payload)
    if err != nil {
        return nil, err
    }
Severity: Major
Found in bench/helpers.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status