bnkamalesh/verifier

View on GitHub
stores/postgres.go

Summary

Maintainability
A
1 hr
Test Coverage

Method Postgres.ReadLastPending has 70 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (pgs *Postgres) ReadLastPending(ctype verifier.CommType, recipient string) (*verifier.Request, error) {
    query, args, err := pgs.qbuilder.Select(
        "id",
        "type",
        "sender",
Severity: Minor
Found in stores/postgres.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status