nikoksr/notify

View on GitHub
service/http/http.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Service.do has 5 return statements (exceeds 4 allowed).
Open

func (s *Service) do(req *http.Request) error {
    // Execute all pre-send hooks in order.
    if err := s.doPreSendHooks(req); err != nil {
        return fmt.Errorf("pre-send hooks: %w", err)
    }
Severity: Major
Found in service/http/http.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status