Preparing report...

Report for github.com/ldeng7/gormx

A    Great!    Found 4 issues across 4 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!


golint0%

Golint is a linter for Go source code.

    • gormx/types/spatial.go
    • Line 15: warning: exported type Point should have comment or be unexported (golint)
    • Line 19: warning: exported method Point.GormDataType should have comment or be unexported (golint)
    • Line 23: warning: exported method Point.Scan should have comment or be unexported (golint)
    • Line 31: warning: exported method Point.GormValue should have comment or be unexported (golint)
    • Line 35: warning: exported type LineString should have comment or be unexported (golint)
    • Line 39: warning: exported method LineString.GormDataType should have comment or be unexported (golint)
    • Line 43: warning: exported method LineString.Scan should have comment or be unexported (golint)
    • Line 51: warning: exported method LineString.GormValue should have comment or be unexported (golint)
    • Line 55: warning: exported type Polygon should have comment or be unexported (golint)
    • Line 59: warning: exported method Polygon.GormDataType should have comment or be unexported (golint)
    • Line 63: warning: exported method Polygon.Scan should have comment or be unexported (golint)
    • Line 71: warning: exported method Polygon.GormValue should have comment or be unexported (golint)
    • Line 75: warning: exported type MultiPoint should have comment or be unexported (golint)
    • Line 79: warning: exported method MultiPoint.GormDataType should have comment or be unexported (golint)
    • Line 83: warning: exported method MultiPoint.Scan should have comment or be unexported (golint)
    • Line 91: warning: exported method MultiPoint.GormValue should have comment or be unexported (golint)
    • Line 95: warning: exported type MultiLineString should have comment or be unexported (golint)
    • Line 99: warning: exported method MultiLineString.GormDataType should have comment or be unexported (golint)
    • Line 103: warning: exported method MultiLineString.Scan should have comment or be unexported (golint)
    • Line 111: warning: exported method MultiLineString.GormValue should have comment or be unexported (golint)
    • Line 115: warning: exported type MultiPolygon should have comment or be unexported (golint)
    • Line 119: warning: exported method MultiPolygon.GormDataType should have comment or be unexported (golint)
    • Line 123: warning: exported method MultiPolygon.Scan should have comment or be unexported (golint)
    • Line 131: warning: exported method MultiPolygon.GormValue should have comment or be unexported (golint)
    • Line 135: warning: exported type GeometryCollection should have comment or be unexported (golint)
    • Line 139: warning: exported method GeometryCollection.GormDataType should have comment or be unexported (golint)
    • Line 143: warning: exported method GeometryCollection.Scan should have comment or be unexported (golint)
    • Line 151: warning: exported method GeometryCollection.GormValue should have comment or be unexported (golint)
    • Line 155: warning: exported type GenericGeometry should have comment or be unexported (golint)
    • Line 159: warning: exported method GenericGeometry.GormDataType should have comment or be unexported (golint)
    • Line 163: warning: exported method GenericGeometry.Scan should have comment or be unexported (golint)
    • Line 171: warning: exported method GenericGeometry.GormValue should have comment or be unexported (golint)
    • gormx/gormx.go
    • Line 8: warning: exported type Conf should have comment or be unexported (golint)
    • Line 16: warning: exported function InitGormMysql should have comment or be unexported (golint)
    • gormx/select.go
    • Line 11: warning: exported type WindowSelectClause should have comment or be unexported (golint)
    • Line 39: warning: exported function Select should have comment or be unexported (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!