Preparing report...

Report for github.com/LeKovr/elsample

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


golint100%

Golint is a linter for Go source code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign33%

IneffAssign detects ineffectual assignments in Go code.

    • elsample/main.go
    • Line 21: warning: cannot find package "." in: (ineffassign)
    • Line 22: warning: cannot find package "." in: (ineffassign)
    • Line 23: warning: cannot find package "." in: (ineffassign)
    • Line 24: warning: cannot find package "." in: (ineffassign)
    • Line 25: warning: cannot find package "." in: (ineffassign)
    • Line 29: warning: cannot find package "." in: (ineffassign)
    • Line 30: warning: cannot find package "." in: (ineffassign)
    • Line 31: warning: cannot find package "." in: (ineffassign)
    • Line 32: warning: cannot find package "." in: (ineffassign)
    • Line 33: warning: cannot find package "." in: (ineffassign)
    • Line 34: warning: cannot find package "." in: (ineffassign)
    • Line 35: warning: cannot find package "." in: (ineffassign)
    • Line 36: warning: cannot find package "." in: (ineffassign)
    • Line 38: warning: cannot find package "." in: (ineffassign)
    • Line 18: warning: cannot find package "." in: (ineffassign)
    • Line 19: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • 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 12: warning: could not import github.com/comail/colog (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/jessevdk/go-flags (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/rs/cors (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/urfave/negroni (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import gopkg.in/tylerb/graceful.v1 (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/LeKovr/go-base/database (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import github.com/LeKovr/go-base/jwtutil (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import github.com/LeKovr/elsa-auth/psw/api/admin (invalid package name: "") (ineffassign)
    • Line 22: warning: could not import github.com/LeKovr/elsa-auth/psw/api/anon (invalid package name: "") (ineffassign)
    • Line 23: warning: could not import github.com/LeKovr/elsa-auth/psw/api/user (invalid package name: "") (ineffassign)
    • Line 24: warning: could not import github.com/LeKovr/elsa-auth/psw/mw/acl (invalid package name: "") (ineffassign)
    • Line 25: warning: could not import github.com/LeKovr/elsa-auth/psw/mw/jwt (invalid package name: "") (ineffassign)
    • Line 29: warning: could not import github.com/LeKovr/elsa/mw/ace (invalid package name: "") (ineffassign)
    • Line 30: warning: could not import github.com/LeKovr/elsa/mw/flow (invalid package name: "") (ineffassign)
    • Line 31: warning: could not import github.com/LeKovr/elsa/mw/logger (invalid package name: "") (ineffassign)
    • Line 32: warning: could not import github.com/LeKovr/elsa/mw/realip (invalid package name: "") (ineffassign)
    • Line 33: warning: could not import github.com/LeKovr/elsa/mw/render (invalid package name: "") (ineffassign)
    • Line 34: warning: could not import github.com/LeKovr/elsa/mw/rpc (invalid package name: "") (ineffassign)
    • Line 35: warning: could not import github.com/LeKovr/elsa/mw/sample (invalid package name: "") (ineffassign)
    • Line 36: warning: could not import github.com/LeKovr/elsa/mw/stats (invalid package name: "") (ineffassign)
    • Line 38: warning: could not import github.com/LeKovr/elsample/api (invalid package name: "") (ineffassign)
    • Line 127: warning: undeclared name: graceful (ineffassign)
    • Line 141: warning: undeclared name: flags (ineffassign)
    • Line 141: warning: undeclared name: flags (ineffassign)
    • Line 16: warning: "gopkg.in/tylerb/graceful.v1" imported but not used (ineffassign)
    • Line 13: warning: "github.com/jessevdk/go-flags" imported but not used (ineffassign)
    • elsample/api/records.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/gorilla/rpc/v2/json2 (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/LeKovr/go-base/database (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!