renzholy/mongood

View on GitHub
go/main.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func create(uri string) (*mongo.Client, error) {
    if cached, ok := clients.Load(uri); ok && cached != nil {
        return cached.(*mongo.Client), nil
    }

Severity: Major
Found in go/main.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status