solher/arangolite

View on GitHub
database.go

Summary

Maintainability
A
1 hr
Test Coverage

Method Database.Run has 6 return statements (exceeds 4 allowed).
Open

func (db *Database) Run(ctx context.Context, v interface{}, q Runnable) error {
    if q == nil {
        return nil
    }

Severity: Major
Found in database.go - About 40 mins to fix

    Method Database.Send has 6 return statements (exceeds 4 allowed).
    Open

    func (db *Database) Send(ctx context.Context, q Runnable) (Response, error) {
        if q == nil {
            return &response{}, nil
        }
    
    
    Severity: Major
    Found in database.go - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status