Preparing report...

Report for github.com/daotl/go-datastore-extensions

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


golint84%

Golint is a linter for Go source code.

    • go-datastore-extensions/interfaces.go
    • Line 9: warning: exported type QueryExt should have comment or be unexported (golint)
    • Line 14: warning: exported type TxnExt should have comment or be unexported (golint)
    • Line 19: warning: exported type DatastoreExtensions should have comment or be unexported (golint)
    • Line 24: warning: exported type QueryExtensions should have comment or be unexported (golint)

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!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign69%

IneffAssign detects ineffectual assignments in Go code.

    • go-datastore-extensions/interfaces.go
    • Line 4: warning: missing go.sum entry for module providing package github.com/daotl/go-datastore (imported by github.com/daotl/go-datastore-extensions); to add: (ineffassign)
    • Line 5: warning: missing go.sum entry for module providing package github.com/daotl/go-datastore/key (imported by github.com/daotl/go-datastore-extensions); to add: (ineffassign)
    • Line 6: warning: missing go.sum entry for module providing package github.com/daotl/go-datastore/query (imported by github.com/daotl/go-datastore-extensions); to add: (ineffassign)
    • Line 4: warning: could not import github.com/daotl/go-datastore (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/daotl/go-datastore/key (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/daotl/go-datastore/query (invalid package name: "") (ineffassign)
    • Line 15: warning: undeclared name: datastore (ineffassign)
    • Line 4: warning: "github.com/daotl/go-datastore" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!