Preparing report...

Report for go.minekube.com/connect

(v0.0.0-20220129223107-5cea354a5b71)

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


golint83%

Golint is a linter for Go source code.

    • aliases.go
    • Line 8: warning: comment on exported type Endpoint should be of the form "Endpoint ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type GameProfile should be of the form "GameProfile ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type GameProfileProperty should be of the form "GameProfileProperty ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type Player should be of the form "Player ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type RejectionReason should be of the form "RejectionReason ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type Session should be of the form "Session ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type SessionRejection should be of the form "SessionRejection ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type TunnelRequest should be of the form "TunnelRequest ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type TunnelResponse should be of the form "TunnelResponse ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type TunnelServiceClient should be of the form "TunnelServiceClient ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type TunnelServiceServer should be of the form "TunnelServiceServer ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type TunnelService_TunnelClient should be of the form "TunnelService_TunnelClient ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type TunnelService_TunnelServer should be of the form "TunnelService_TunnelServer ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type UnimplementedTunnelServiceServer should be of the form "UnimplementedTunnelServiceServer ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type UnimplementedWatchServiceServer should be of the form "UnimplementedWatchServiceServer ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type WatchRequest should be of the form "WatchRequest ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type WatchResponse should be of the form "WatchResponse ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type WatchServiceClient should be of the form "WatchServiceClient ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type WatchServiceServer should be of the form "WatchServiceServer ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type WatchService_WatchClient should be of the form "WatchService_WatchClient ..." (with optional leading article) (golint)
    • Line 8: warning: comment on exported type WatchService_WatchServer should be of the form "WatchService_WatchServer ..." (with optional leading article) (golint)
    • Line 26: warning: don't use underscores in Go names; type WatchService_WatchClient should be WatchServiceWatchClient (golint)
    • Line 27: warning: don't use underscores in Go names; type WatchService_WatchServer should be WatchServiceWatchServer (golint)
    • Line 33: warning: don't use underscores in Go names; type TunnelService_TunnelClient should be TunnelServiceTunnelClient (golint)
    • Line 34: warning: don't use underscores in Go names; type TunnelService_TunnelServer should be TunnelServiceTunnelServer (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!