Preparing report...

Report for github.com/lobz1g/amocrm

A+    Excellent!    Found 7 issues across 18 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!


golint61%

Golint is a linter for Go source code.

    • amocrm/models/note.go
    • Line 11: warning: exported type Nt should have comment or be unexported (golint)
    • Line 31: warning: exported method Nt.Create should have comment or be unexported (golint)
    • Line 35: warning: exported method Nt.Add should have comment or be unexported (golint)
    • amocrm/models/task.go
    • Line 9: warning: exported type Tsk should have comment or be unexported (golint)
    • Line 40: warning: exported method Tsk.Create should have comment or be unexported (golint)
    • Line 44: warning: exported method Tsk.All should have comment or be unexported (golint)
    • Line 62: warning: exported method Tsk.Id should have comment or be unexported (golint)
    • Line 73: warning: exported method Tsk.Add should have comment or be unexported (golint)
    • Line 100: warning: exported method Tsk.Update should have comment or be unexported (golint)
    • Line 123: warning: exported method Tsk.Close should have comment or be unexported (golint)
    • amocrm/crm.go
    • Line 15: warning: exported function NewAmo should have comment or be unexported (golint)
    • amocrm/models/account.go
    • Line 8: warning: exported type Acc should have comment or be unexported (golint)
    • Line 109: warning: exported method Acc.Get should have comment or be unexported (golint)
    • amocrm/models/company.go
    • Line 8: warning: exported type Cmpn should have comment or be unexported (golint)
    • Line 39: warning: comment on exported method Cmpn.Create should be of the form "Create ..." (golint)
    • Line 44: warning: comment on exported method Cmpn.All should be of the form "All ..." (golint)
    • Line 53: warning: comment on exported method Cmpn.Responsible should be of the form "Responsible ..." (golint)
    • Line 84: warning: comment on exported method Cmpn.Id should be of the form "Id ..." (golint)
    • Line 96: warning: comment on exported method Cmpn.Add should be of the form "Add ..." (golint)
    • Line 136: warning: comment on exported method Cmpn.Update should be of the form "Update ..." (golint)
    • amocrm/models/lead.go
    • Line 8: warning: exported type Ld should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method Ld.Create should be of the form "Create ..." (golint)
    • Line 56: warning: comment on exported method Ld.All should be of the form "All ..." (golint)
    • Line 65: warning: comment on exported method Ld.Responsible should be of the form "Responsible ..." (golint)
    • Line 75: warning: comment on exported method Ld.Status should be of the form "Status ..." (golint)
    • Line 106: warning: comment on exported method Ld.Id should be of the form "Id ..." (golint)
    • Line 118: warning: comment on exported method Ld.Add should be of the form "Add ..." (golint)
    • Line 164: warning: comment on exported method Ld.Update should be of the form "Update ..." (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!