Preparing report...

Report for github.com/alexeyco/unisender

A+    Excellent!    Found 11 issues across 116 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


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!


golint90%

Golint is a linter for Go source code.

    • unisender/messages/create_email_message.go
    • Line 107: warning: comment on exported method CreateEmailMessageRequest.LangDE should be of the form "LangDE ..." (golint)
    • Line 113: warning: comment on exported method CreateEmailMessageRequest.LangES should be of the form "LangES ..." (golint)
    • Line 119: warning: comment on exported method CreateEmailMessageRequest.LangFR should be of the form "LangFR ..." (golint)
    • Line 125: warning: comment on exported method CreateEmailMessageRequest.LangNL should be of the form "LangNL ..." (golint)
    • Line 131: warning: comment on exported method CreateEmailMessageRequest.LangPL should be of the form "LangPL ..." (golint)
    • Line 137: warning: comment on exported method CreateEmailMessageRequest.LangPT should be of the form "LangPT ..." (golint)
    • Line 143: warning: comment on exported method CreateEmailMessageRequest.LangTR should be of the form "LangTR ..." (golint)
    • unisender/messages/create_email_template.go
    • Line 47: warning: comment on exported method CreateEmailTemplateRequest.LangDE should be of the form "LangDE ..." (golint)
    • Line 53: warning: comment on exported method CreateEmailTemplateRequest.LangES should be of the form "LangES ..." (golint)
    • Line 59: warning: comment on exported method CreateEmailTemplateRequest.LangFR should be of the form "LangFR ..." (golint)
    • Line 65: warning: comment on exported method CreateEmailTemplateRequest.LangNL should be of the form "LangNL ..." (golint)
    • Line 71: warning: comment on exported method CreateEmailTemplateRequest.LangPL should be of the form "LangPL ..." (golint)
    • Line 77: warning: comment on exported method CreateEmailTemplateRequest.LangPT should be of the form "LangPT ..." (golint)
    • Line 83: warning: comment on exported method CreateEmailTemplateRequest.LangTR should be of the form "LangTR ..." (golint)
    • Line 89: warning: exported method CreateEmailTemplateRequest.Description should have comment or be unexported (golint)
    • unisender/messages/send_email.go
    • Line 54: warning: comment on exported method SendEmailRequest.Attachment should be of the form "Attachment ..." (golint)
    • Line 66: warning: comment on exported method SendEmailRequest.LangDE should be of the form "LangDE ..." (golint)
    • Line 72: warning: comment on exported method SendEmailRequest.LangES should be of the form "LangES ..." (golint)
    • Line 78: warning: comment on exported method SendEmailRequest.LangFR should be of the form "LangFR ..." (golint)
    • Line 84: warning: comment on exported method SendEmailRequest.LangNL should be of the form "LangNL ..." (golint)
    • Line 90: warning: comment on exported method SendEmailRequest.LangPL should be of the form "LangPL ..." (golint)
    • Line 96: warning: comment on exported method SendEmailRequest.LangPT should be of the form "LangPT ..." (golint)
    • Line 102: warning: comment on exported method SendEmailRequest.LangTR should be of the form "LangTR ..." (golint)
    • unisender/messages/update_email_template.go
    • Line 14: warning: comment on exported method UpdateEmailTemplateRequest.Title should be of the form "Title ..." (golint)
    • Line 52: warning: comment on exported method UpdateEmailTemplateRequest.LangDE should be of the form "LangDE ..." (golint)
    • Line 58: warning: comment on exported method UpdateEmailTemplateRequest.LangES should be of the form "LangES ..." (golint)
    • Line 64: warning: comment on exported method UpdateEmailTemplateRequest.LangFR should be of the form "LangFR ..." (golint)
    • Line 70: warning: comment on exported method UpdateEmailTemplateRequest.LangNL should be of the form "LangNL ..." (golint)
    • Line 76: warning: comment on exported method UpdateEmailTemplateRequest.LangPL should be of the form "LangPL ..." (golint)
    • Line 82: warning: comment on exported method UpdateEmailTemplateRequest.LangPT should be of the form "LangPT ..." (golint)
    • Line 88: warning: comment on exported method UpdateEmailTemplateRequest.LangTR should be of the form "LangTR ..." (golint)
    • Line 94: warning: exported method UpdateEmailTemplateRequest.Description should have comment or be unexported (golint)
    • unisender/messages/update_email_message.go
    • Line 10: warning: exported type UpdateEmailMessageRequest should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method UpdateEmailMessageRequest.LangDE should be of the form "LangDE ..." (golint)
    • Line 86: warning: comment on exported method UpdateEmailMessageRequest.LangES should be of the form "LangES ..." (golint)
    • Line 92: warning: comment on exported method UpdateEmailMessageRequest.LangFR should be of the form "LangFR ..." (golint)
    • Line 98: warning: comment on exported method UpdateEmailMessageRequest.LangNL should be of the form "LangNL ..." (golint)
    • Line 104: warning: comment on exported method UpdateEmailMessageRequest.LangPL should be of the form "LangPL ..." (golint)
    • Line 110: warning: comment on exported method UpdateEmailMessageRequest.LangPT should be of the form "LangPT ..." (golint)
    • Line 116: warning: comment on exported method UpdateEmailMessageRequest.LangTR should be of the form "LangTR ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!