Preparing report...

Report for github.com/xmlking/grpc-starter-kit

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


golint82%

Golint is a linter for Go source code.

    • grpc-starter-kit/service/account/dto/dto.go
    • Line 71: warning: don't use underscores in Go names; var Profile_GenderType_name should be ProfileGenderTypeName (golint)
    • Line 71: warning: exported var Profile_GenderType_name should have comment or be unexported (golint)
    • Line 76: warning: don't use underscores in Go names; var Profile_GenderType_value should be ProfileGenderTypeValue (golint)
    • grpc-starter-kit/internal/config/schema.go
    • Line 76: warning: don't use underscores in Go names; type Features_Metrics should be FeaturesMetrics (golint)
    • Line 83: warning: don't use underscores in Go names; type Features_Tracing should be FeaturesTracing (golint)
    • Line 91: warning: don't use underscores in Go names; type Features_TLS should be FeaturesTLS (golint)
    • Line 101: warning: don't use underscores in Go names; type Features_Validator should be FeaturesValidator (golint)
    • Line 106: warning: don't use underscores in Go names; type Features_Rpclog should be FeaturesRpclog (golint)
    • Line 111: warning: don't use underscores in Go names; type Features_Translog should be FeaturesTranslog (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words