Preparing report...

Report for github.com/bellinghamcodes/website

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


golint72%

Golint is a linter for Go source code.

    • website/internal/instagram/instagram.go
    • Line 10: warning: exported type Client should have comment or be unexported (golint)
    • Line 12: warning: exported method Client.MediaForUser should have comment or be unexported (golint)
    • Line 39: warning: exported type UserResponse should have comment or be unexported (golint)
    • Line 42: warning: exported type User should have comment or be unexported (golint)
    • Line 50: warning: exported type Media should have comment or be unexported (golint)
    • Line 61: warning: exported type MediaType should have comment or be unexported (golint)
    • Line 63: warning: exported const ImageMediaType should have comment or be unexported (golint)
    • website/internal/meetup/meetup.go
    • Line 11: warning: exported type Client should have comment or be unexported (golint)
    • Line 15: warning: exported method Client.FetchEvents should have comment or be unexported (golint)
    • Line 60: warning: exported type Event should have comment or be unexported (golint)
    • Line 68: warning: exported method Event.Time should have comment or be unexported (golint)
    • Line 73: warning: exported type Venue should have comment or be unexported (golint)
    • website/homepage.go
    • Line 10: warning: exported type HomePageServer should have comment or be unexported (golint)
    • Line 23: warning: exported type Image should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign63%

IneffAssign detects ineffectual assignments in Go code.

    • website/main.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/bellinghamcodes/website/internal/instagram (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import gopkg.in/russross/blackfriday.v2 (invalid package name: "") (ineffassign)
    • website/homepage.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/bellinghamcodes/website/internal/meetup (invalid package name: "") (ineffassign)
    • Line 37: warning: undeclared name: Assets (ineffassign)
    • website/invite.go
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: could not import github.com/codegangsta/cli (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mnbbrown/mailchimp (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/nlopes/slack (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!