brokeyourbike/providusbank-api-client-go

View on GitHub
client.go

Summary

Maintainability
A
40 mins
Test Coverage
C
78%

Method client.do has 6 return statements (exceeds 4 allowed).
Open

func (c *client) do(ctx context.Context, req *request) error {
    resp, err := c.httpClient.Do(req.req)
    if err != nil {
        return fmt.Errorf("failed to send request: %w", err)
    }
Severity: Major
Found in client.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status