asteris-llc/converge

View on GitHub
fetch/http.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func HTTP(ctx context.Context, loc string) ([]byte, error) {
    var client http.Client
    req, err := http.NewRequest("GET", loc, nil)
    if err != nil {
        return nil, err
Severity: Major
Found in fetch/http.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status