Preparing report...

Report for github.com/covrom/go-echo-vue

B    Not bad!    Found 5 issues across 4 files

Tweet

gofmt75%

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


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!


golint50%

Golint is a linter for Go source code.

    • go-echo-vue/handlers/index.go
    • Line 11: warning: exported type Template should have comment or be unexported (golint)
    • Line 15: warning: exported method Template.Render should have comment or be unexported (golint)
    • Line 19: warning: exported var IndexPageRenderer should have comment or be unexported (golint)
    • Line 28: warning: exported function GetIndexPage should have comment or be unexported (golint)
    • go-echo-vue/handlers/tasks.go
    • Line 12: warning: exported type H should have comment or be unexported (golint)
    • Line 36: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

    • go-echo-vue/handlers/tasks.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/coreos/bbolt (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/covrom/go-echo-vue/models (invalid package name: "") (ineffassign)
    • go-echo-vue/todo.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/covrom/go-echo-vue/handlers (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/coreos/bbolt (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/labstack/echo (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!