timoth-y/kicksware-api

View on GitHub
services/users/usecase/business/mailService.go

Summary

Maintainability
A
45 mins
Test Coverage

Function trySendMail has 7 return statements (exceeds 4 allowed).
Open

func trySendMail(config env.MailConfig, subject string, msg string, to string) error {
    client, err := mailClient(config); if err != nil {
        return err
    }

Severity: Major
Found in services/users/usecase/business/mailService.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status