Preparing report...

Report for github.com/resentycom/go-mail

(v0.0.0-20250809034106-e3c5741e5f5d)

A+    Excellent!    Found 2 issues across 59 files

Tweet

go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gofmt98%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

    • msg.go
    • Line 1556: expected 'IDENT', found 'map':1::warning: file is not gofmted with -s (gofmt)

gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.

    • msg.go
    • Line 1556: warning: expected 'IDENT', found 'map' (ineffassign)
    • Line 1556: warning: method must have no type parameters (ineffassign)
    • Line 1556: warning: all type parameters must be named (ineffassign)
    • Line 1556: warning: expected '(', found '[' (ineffassign)
    • Line 1556: warning: expected ), found ']' (ineffassign)
    • Line 1556: warning: missing ',' in parameter list (ineffassign)
    • Line 1556: warning: missing ',' in parameter list (ineffassign)
    • Line 1556: warning: expected 'IDENT', found 'map' (ineffassign)
    • Line 1556: warning: method must have no type parameters (ineffassign)
    • Line 1556: warning: all type parameters must be named (ineffassign)
    • Line 1556: warning: expected '(', found '[' (ineffassign)
    • Line 1556: warning: expected ), found ']' (ineffassign)
    • Line 1556: warning: missing ',' in parameter list (ineffassign)
    • Line 1556: warning: missing ',' in parameter list (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell98%

Misspell Finds commonly misspelled English words