Bnei-Baruch/mdb

View on GitHub
utils/http.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func DownloadUrl(url string, path string) error {
    // create output file
    output, err := os.Create(path)
    if err != nil {
        return errors.Wrap(err, "Create output file")
Severity: Major
Found in utils/http.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status