Preparing report...

Report for go.minekube.com/gate

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


gocyclo90%

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.


golint28%

Golint is a linter for Go source code.

    • /go.minekube.com/gate/pkg/edition/java/proto/packet/status.go
    • Line 10: warning: exported type StatusRequest should have comment or be unexported (golint)
    • Line 11: warning: exported type StatusResponse should have comment or be unexported (golint)
    • Line 14: warning: exported type StatusPing should have comment or be unexported (golint)
    • Line 20: warning: exported method StatusPing.Encode should have comment or be unexported (golint)
    • Line 24: warning: exported method StatusPing.Decode should have comment or be unexported (golint)
    • Line 29: warning: exported method StatusResponse.Encode should have comment or be unexported (golint)
    • Line 32: warning: exported method StatusResponse.Decode should have comment or be unexported (golint)
    • Line 37: warning: exported method StatusRequest.Encode should have comment or be unexported (golint)
    • Line 40: warning: exported method StatusRequest.Decode should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/version/version.go
    • Line 11: warning: exported var Unknown should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; var Minecraft_1_7_2 should be Minecraft1_7_2 (golint)
    • Line 14: warning: don't use underscores in Go names; var Minecraft_1_7_6 should be Minecraft1_7_6 (golint)
    • Line 15: warning: don't use underscores in Go names; var Minecraft_1_8 should be Minecraft1_8 (golint)
    • Line 16: warning: don't use underscores in Go names; var Minecraft_1_9 should be Minecraft1_9 (golint)
    • Line 17: warning: don't use underscores in Go names; var Minecraft_1_9_1 should be Minecraft1_9_1 (golint)
    • Line 18: warning: don't use underscores in Go names; var Minecraft_1_9_4 should be Minecraft1_9_4 (golint)
    • Line 19: warning: don't use underscores in Go names; var Minecraft_1_11 should be Minecraft1_11 (golint)
    • Line 20: warning: don't use underscores in Go names; var Minecraft_1_12 should be Minecraft1_12 (golint)
    • Line 21: warning: don't use underscores in Go names; var Minecraft_1_12_1 should be Minecraft1_12_1 (golint)
    • Line 22: warning: don't use underscores in Go names; var Minecraft_1_12_2 should be Minecraft1_12_2 (golint)
    • Line 23: warning: don't use underscores in Go names; var Minecraft_1_13 should be Minecraft1_13 (golint)
    • Line 24: warning: don't use underscores in Go names; var Minecraft_1_13_2 should be Minecraft1_13_2 (golint)
    • Line 25: warning: don't use underscores in Go names; var Minecraft_1_14 should be Minecraft1_14 (golint)
    • Line 26: warning: don't use underscores in Go names; var Minecraft_1_15 should be Minecraft1_15 (golint)
    • Line 27: warning: don't use underscores in Go names; var Minecraft_1_16 should be Minecraft1_16 (golint)
    • Line 28: warning: don't use underscores in Go names; var Minecraft_1_16_1 should be Minecraft1_16_1 (golint)
    • Line 29: warning: don't use underscores in Go names; var Minecraft_1_16_2 should be Minecraft1_16_2 (golint)
    • Line 30: warning: don't use underscores in Go names; var Minecraft_1_16_3 should be Minecraft1_16_3 (golint)
    • Line 31: warning: don't use underscores in Go names; var Minecraft_1_16_4 should be Minecraft1_16_4 (golint)
    • Line 50: warning: exported var ProtocolToVersion should have comment or be unexported (golint)
    • Line 68: warning: comment on exported var MinimumVersion should be of the form "MinimumVersion ..." (golint)
    • Line 70: warning: comment on exported var MaximumVersion should be of the form "MaximumVersion ..." (golint)
    • Line 72: warning: comment on exported var SupportedVersionsString should be of the form "SupportedVersionsString ..." (golint)
    • Line 105: warning: exported method Protocol.Legacy should have comment or be unexported (golint)
    • Line 109: warning: exported method Protocol.Unknown should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/codec/encoder.go
    • Line 17: warning: exported const VanillaMaximumUncompressedSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported function NewEncoder should have comment or be unexported (golint)
    • Line 49: warning: exported method Encoder.SetCompression should have comment or be unexported (golint)
    • Line 60: warning: exported method Encoder.WritePacket should have comment or be unexported (golint)
    • Line 139: warning: exported method Encoder.SetProtocol should have comment or be unexported (golint)
    • Line 148: warning: exported method Encoder.SetState should have comment or be unexported (golint)
    • Line 155: warning: exported method Encoder.SetWriter should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/util/reader.go
    • Line 15: warning: exported function ReadString should have comment or be unexported (golint)
    • Line 19: warning: exported function ReadStringMax should have comment or be unexported (golint)
    • Line 42: warning: exported function ReadStringArray should have comment or be unexported (golint)
    • Line 58: warning: exported function ReadBytes should have comment or be unexported (golint)
    • Line 62: warning: exported function ReadBytesLen should have comment or be unexported (golint)
    • Line 80: warning: comment on exported function ReadStringWithoutLen should be of the form "ReadStringWithoutLen ..." (golint)
    • Line 87: warning: exported function ReadVarInt should have comment or be unexported (golint)
    • Line 130: warning: exported function ReadBool should have comment or be unexported (golint)
    • Line 139: warning: exported function ReadInt8 should have comment or be unexported (golint)
    • Line 145: warning: exported function ReadUint8 should have comment or be unexported (golint)
    • Line 155: warning: exported function ReadByte should have comment or be unexported (golint)
    • Line 159: warning: exported function ReadInt16 should have comment or be unexported (golint)
    • Line 165: warning: exported function ReadUint16 should have comment or be unexported (golint)
    • Line 172: warning: exported function ReadInt32 should have comment or be unexported (golint)
    • Line 178: warning: exported function ReadInt should have comment or be unexported (golint)
    • Line 183: warning: exported function ReadUint32 should have comment or be unexported (golint)
    • Line 190: warning: exported function ReadInt64 should have comment or be unexported (golint)
    • Line 196: warning: exported function ReadUint64 should have comment or be unexported (golint)
    • Line 203: warning: exported function ReadFloat32 should have comment or be unexported (golint)
    • Line 209: warning: exported function ReadFloat64 should have comment or be unexported (golint)
    • Line 235: warning: exported const ForgeMaxArrayLength should have comment or be unexported (golint)
    • Line 237: warning: comment on exported function ReadBytes17 should be of the form "ReadBytes17 ..." (golint)
    • Line 255: warning: exported function ReadUUID should have comment or be unexported (golint)
    • Line 264: warning: exported function ReadProperties should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/packet/chat.go
    • Line 12: warning: exported const MaxServerBoundMessageLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type Chat should have comment or be unexported (golint)
    • Line 21: warning: exported method Chat.Encode should have comment or be unexported (golint)
    • Line 38: warning: exported method Chat.Decode should have comment or be unexported (golint)
    • Line 64: warning: comment on exported const ChatMessage should be of the form "ChatMessage ..." (golint)
    • Line 67: warning: comment on exported const SystemMessage should be of the form "SystemMessage ..." (golint)
    • Line 69: warning: comment on exported const ActionBarMessage should be of the form "ActionBarMessage ..." (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/util/writer.go
    • Line 12: warning: exported function WriteString should have comment or be unexported (golint)
    • Line 16: warning: exported function WriteVarInt should have comment or be unexported (golint)
    • Line 29: warning: exported function WriteBool should have comment or be unexported (golint)
    • Line 38: warning: comment on exported function WriteInt8 should be of the form "WriteInt8 ..." (golint)
    • Line 43: warning: comment on exported function WriteUint8 should be of the form "WriteUint8 ..." (golint)
    • Line 51: warning: comment on exported function WriteByte should be of the form "WriteByte ..." (golint)
    • Line 56: warning: exported function WriteInt16 should have comment or be unexported (golint)
    • Line 61: warning: exported function WriteUint16 should have comment or be unexported (golint)
    • Line 68: warning: exported function WriteInt32 should have comment or be unexported (golint)
    • Line 73: warning: exported function WriteUint32 should have comment or be unexported (golint)
    • Line 80: warning: exported function WriteInt64 should have comment or be unexported (golint)
    • Line 85: warning: exported function WriteUint64 should have comment or be unexported (golint)
    • Line 92: warning: exported function WriteFloat32 should have comment or be unexported (golint)
    • Line 96: warning: exported function WriteFloat64 should have comment or be unexported (golint)
    • Line 100: warning: exported function WriteBytes should have comment or be unexported (golint)
    • Line 109: warning: exported function WriteStrings should have comment or be unexported (golint)
    • Line 123: warning: comment on exported function WriteUUID should be of the form "WriteUUID ..." (golint)
    • Line 136: warning: exported function WriteProperties should have comment or be unexported (golint)
    • Line 204: warning: exported function WriteBytes17 should have comment or be unexported (golint)
    • Line 228: warning: exported function WriteExtendedForgeShort should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proxy/phases.go
    • Line 35: warning: don't use underscores in Go names; struct field nextPhase_ should be nextPhase (golint)
    • Line 36: warning: don't use underscores in Go names; struct field onHandle_ should be onHandle (golint)
    • Line 37: warning: don't use underscores in Go names; struct field resetConnectionPhase_ should be resetConnectionPhase (golint)
    • Line 38: warning: don't use underscores in Go names; struct field onFirstJoin_ should be onFirstJoin (golint)
    • Line 39: warning: don't use underscores in Go names; struct field consideredComplete_ should be consideredComplete (golint)
    • Line 236: warning: don't use underscores in Go names; type unknownBackendPhase_ should be unknownBackendPhase (golint)
    • Line 254: warning: don't use underscores in Go names; type inTransitionBackendPhase_ should be inTransitionBackendPhase (golint)
    • Line 272: warning: don't use underscores in Go names; struct field consideredComplete_ should be consideredComplete (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/packet/tab_list.go
    • Line 16: warning: exported type HeaderAndFooter should have comment or be unexported (golint)
    • Line 21: warning: exported method HeaderAndFooter.Encode should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method HeaderAndFooter.Decode should be of the form "Decode ..." (golint)
    • Line 39: warning: exported var ResetHeaderAndFooter should have comment or be unexported (golint)
    • Line 54: warning: exported type PlayerListItem should have comment or be unexported (golint)
    • Line 59: warning: exported type PlayerListItemAction should have comment or be unexported (golint)
    • Line 62: warning: exported const AddPlayerListItemAction should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported type PlayerListItemEntry should have comment or be unexported (golint)
    • Line 78: warning: exported method PlayerListItem.Encode should have comment or be unexported (golint)
    • Line 189: warning: exported method PlayerListItem.Decode should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/forge/legacy.go
    • Line 13: warning: comment on exported const HandshakeHostnameToken should be of the form "HandshakeHostnameToken ..." (golint)
    • Line 16: warning: comment on exported const LegacyHandshakeChannel should be of the form "LegacyHandshakeChannel ..." (golint)
    • Line 18: warning: comment on exported const ResetDataDiscriminator should be of the form "ResetDataDiscriminator ..." (golint)
    • Line 20: warning: comment on exported const AckDiscriminator should be of the form "AckDiscriminator ..." (golint)
    • Line 22: warning: comment on exported const ServerHelloDiscriminator should be of the form "ServerHelloDiscriminator ..." (golint)
    • Line 24: warning: comment on exported const ClientHelloDiscriminator should be of the form "ClientHelloDiscriminator ..." (golint)
    • Line 26: warning: comment on exported const ModListDiscriminator should be of the form "ModListDiscriminator ..." (golint)
    • Line 28: warning: comment on exported const RegistryDiscriminator should be of the form "RegistryDiscriminator ..." (golint)
    • Line 32: warning: comment on exported var LegacyHandshakeResetData should be of the form "LegacyHandshakeResetData ..." (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/packet/plugin/util.go
    • Line 14: warning: exported const BrandChannelLegacy should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported var InvalidIdentifierRegex should have comment or be unexported (golint)
    • Line 48: warning: comment on exported function LegacyRegister should be of the form "LegacyRegister ..." (golint)
    • Line 53: warning: comment on exported function LegacyUnregister should be of the form "LegacyUnregister ..." (golint)
    • Line 94: warning: comment on exported function ConstructChannelsPacket should be of the form "ConstructChannelsPacket ..." (golint)
    • Line 113: warning: comment on exported function RewriteMinecraftBrand should be of the form "RewriteMinecraftBrand ..." (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/packet/login.go
    • Line 14: warning: exported type ServerLogin should have comment or be unexported (golint)
    • Line 22: warning: exported method ServerLogin.Encode should have comment or be unexported (golint)
    • Line 26: warning: exported method ServerLogin.Decode should have comment or be unexported (golint)
    • Line 34: warning: exported type EncryptionResponse should have comment or be unexported (golint)
    • Line 39: warning: exported method EncryptionResponse.Encode should have comment or be unexported (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 55: warning: exported method EncryptionResponse.Decode should have comment or be unexported (golint)
    • Line 72: warning: exported type LoginPluginResponse should have comment or be unexported (golint)
    • Line 78: warning: exported method LoginPluginResponse.Encode should have comment or be unexported (golint)
    • Line 90: warning: exported method LoginPluginResponse.Decode should have comment or be unexported (golint)
    • Line 107: warning: exported type EncryptionRequest should have comment or be unexported (golint)
    • Line 113: warning: exported method EncryptionRequest.Encode should have comment or be unexported (golint)
    • Line 125: warning: exported method EncryptionRequest.Decode should have comment or be unexported (golint)
    • Line 138: warning: exported type ServerLoginSuccess should have comment or be unexported (golint)
    • Line 143: warning: exported method ServerLoginSuccess.Encode should have comment or be unexported (golint)
    • Line 157: warning: exported method ServerLoginSuccess.Decode should have comment or be unexported (golint)
    • Line 182: warning: exported type SetCompression should have comment or be unexported (golint)
    • Line 186: warning: exported method SetCompression.Encode should have comment or be unexported (golint)
    • Line 190: warning: exported method SetCompression.Decode should have comment or be unexported (golint)
    • Line 195: warning: exported type LoginPluginMessage should have comment or be unexported (golint)
    • Line 201: warning: exported method LoginPluginMessage.Encode should have comment or be unexported (golint)
    • Line 213: warning: exported method LoginPluginMessage.Decode should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/codec/decoder.go
    • Line 34: warning: exported function NewDecoder should have comment or be unexported (golint)
    • Line 52: warning: exported method Decoder.SetState should have comment or be unexported (golint)
    • Line 59: warning: exported method Decoder.SetProtocol should have comment or be unexported (golint)
    • Line 69: warning: exported method Decoder.SetReader should have comment or be unexported (golint)
    • Line 75: warning: exported method Decoder.SetCompressionThreshold should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/util/nbt.go
    • Line 6: warning: exported method NBT.Bool should have comment or be unexported (golint)
    • Line 11: warning: exported method NBT.Int8 should have comment or be unexported (golint)
    • Line 18: warning: exported method NBT.Uint8 should have comment or be unexported (golint)
    • Line 26: warning: exported method NBT.Int16 should have comment or be unexported (golint)
    • Line 34: warning: exported method NBT.Int32 should have comment or be unexported (golint)
    • Line 41: warning: exported method NBT.Int should have comment or be unexported (golint)
    • Line 46: warning: exported method NBT.Int64 should have comment or be unexported (golint)
    • Line 54: warning: exported method NBT.Float32 should have comment or be unexported (golint)
    • Line 62: warning: exported method NBT.Float64 should have comment or be unexported (golint)
    • Line 70: warning: exported method NBT.ByteArray should have comment or be unexported (golint)
    • Line 86: warning: exported method NBT.NBT should have comment or be unexported (golint)
    • Line 97: warning: exported method NBT.List should have comment or be unexported (golint)
    • Line 117: warning: exported method NBT.Int32Array should have comment or be unexported (golint)
    • Line 125: warning: exported method NBT.Int64Array should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proxy/proxy.go
    • Line 124: warning: comment on exported var ErrProxyAlreadyRun should be of the form "ErrProxyAlreadyRun ..." (golint)
    • Line 486: warning: comment on exported method Proxy.PlayerByName should be of the form "PlayerByName ..." (golint)
    • Line 570: warning: exported method Proxy.ChannelRegistrar should have comment or be unexported (golint)
    • Line 574: warning: exported type ChannelRegistrar should have comment or be unexported (golint)
    • Line 579: warning: exported function NewChannelRegistrar should have comment or be unexported (golint)
    • Line 621: warning: exported method ChannelRegistrar.FromID should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proxy/switch.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 7: warning: should not use dot imports (golint)
    • Line 48: warning: comment on exported const SuccessConnectionStatus should be of the form "SuccessConnectionStatus ..." (golint)
    • Line 50: warning: comment on exported const AlreadyConnectedConnectionStatus should be of the form "AlreadyConnectedConnectionStatus ..." (golint)
    • Line 52: warning: comment on exported const InProgressConnectionStatus should be of the form "InProgressConnectionStatus ..." (golint)
    • Line 54: warning: comment on exported const CanceledConnectionStatus should be of the form "CanceledConnectionStatus ..." (golint)
    • Line 56: warning: comment on exported const ServerDisconnectedConnectionStatus should be of the form "ServerDisconnectedConnectionStatus ..." (golint)
    • /go.minekube.com/gate/pkg/edition/java/proxy/player/settings.go
    • Line 21: warning: exported var DefaultSettings should have comment or be unexported (golint)
    • Line 29: warning: exported type ChatMode should have comment or be unexported (golint)
    • Line 32: warning: exported const ShownChatMode should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type MainHand should have comment or be unexported (golint)
    • Line 40: warning: exported const LeftMainHand should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported type SkinParts should have comment or be unexported (golint)
    • Line 46: warning: exported method SkinParts.Cape should have comment or be unexported (golint)
    • Line 49: warning: exported method SkinParts.Jacket should have comment or be unexported (golint)
    • Line 52: warning: exported method SkinParts.LeftSleeve should have comment or be unexported (golint)
    • Line 55: warning: exported method SkinParts.RightSleeve should have comment or be unexported (golint)
    • Line 58: warning: exported method SkinParts.LeftPants should have comment or be unexported (golint)
    • Line 61: warning: exported method SkinParts.RightPants should have comment or be unexported (golint)
    • Line 64: warning: exported method SkinParts.Hat should have comment or be unexported (golint)
    • Line 106: warning: exported function NewSettings should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/util/errs/util.go
    • Line 9: warning: exported var ErrMissingConfig should have comment or be unexported (golint)
    • Line 23: warning: exported function NewSilentErr should have comment or be unexported (golint)
    • Line 27: warning: exported function WrapSilent should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function IsConnClosedErr should be of the form "IsConnClosedErr ..." (golint)
    • /go.minekube.com/gate/pkg/edition/java/proto/packet/title.go
    • Line 11: warning: exported type TitleAction should have comment or be unexported (golint)
    • Line 28: warning: exported type Title should have comment or be unexported (golint)
    • Line 34: warning: exported method Title.Encode should have comment or be unexported (golint)
    • Line 98: warning: exported method Title.Decode should have comment or be unexported (golint)
    • Line 159: warning: exported function NewHideTitle should have comment or be unexported (golint)
    • Line 162: warning: exported function NewResetTitle should have comment or be unexported (golint)
    • Line 165: warning: exported function HideTitleAction should have comment or be unexported (golint)
    • Line 171: warning: exported function ResetTitleAction should have comment or be unexported (golint)
    • Line 177: warning: exported function TimesTitleAction should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/proxy/events.go
    • Line 69: warning: exported function NewGameProfileRequestEvent should have comment or be unexported (golint)
    • Line 81: warning: comment on exported method GameProfileRequestEvent.Conn should be of the form "Conn ..." (golint)
    • Line 86: warning: comment on exported method GameProfileRequestEvent.Original should be of the form "Original ..." (golint)
    • Line 182: warning: exported type PreLoginEvent should have comment or be unexported (golint)
    • Line 198: warning: exported type PreLoginResult should have comment or be unexported (golint)
    • Line 201: warning: exported const AllowedPreLogin should have comment (or a comment on this block) or be unexported (golint)
    • Line 207: warning: exported method PreLoginEvent.Username should have comment or be unexported (golint)
    • Line 211: warning: exported method PreLoginEvent.Conn should have comment or be unexported (golint)
    • Line 215: warning: exported method PreLoginEvent.Result should have comment or be unexported (golint)
    • Line 225: warning: exported method PreLoginEvent.Deny should have comment or be unexported (golint)
    • Line 230: warning: exported method PreLoginEvent.Allow should have comment or be unexported (golint)
    • Line 235: warning: exported method PreLoginEvent.ForceOnlineMode should have comment or be unexported (golint)
    • Line 240: warning: exported method PreLoginEvent.ForceOfflineMode should have comment or be unexported (golint)
    • Line 254: warning: exported type LoginEvent should have comment or be unexported (golint)
    • Line 261: warning: exported method LoginEvent.Player should have comment or be unexported (golint)
    • Line 265: warning: exported method LoginEvent.Deny should have comment or be unexported (golint)
    • Line 270: warning: exported method LoginEvent.Allow should have comment or be unexported (golint)
    • Line 275: warning: exported method LoginEvent.Allowed should have comment or be unexported (golint)
    • Line 279: warning: comment on exported method LoginEvent.Reason should be of the form "Reason ..." (golint)
    • Line 292: warning: exported type DisconnectEvent should have comment or be unexported (golint)
    • Line 297: warning: exported type LoginStatus should have comment or be unexported (golint)
    • Line 300: warning: exported const SuccessfulLoginStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 307: warning: exported method DisconnectEvent.Player should have comment or be unexported (golint)
    • Line 311: warning: exported method DisconnectEvent.LoginStatus should have comment or be unexported (golint)
    • Line 324: warning: exported type PostLoginEvent should have comment or be unexported (golint)
    • Line 328: warning: exported method PostLoginEvent.Player should have comment or be unexported (golint)
    • Line 424: warning: comment on exported type KickedFromServerEvent should be of the form "KickedFromServerEvent ..." (with optional leading article) (golint)
    • Line 489: warning: comment on exported method KickedFromServerEvent.Result should be of the form "Result ..." (golint)
    • Line 496: warning: comment on exported method KickedFromServerEvent.SetResult should be of the form "SetResult ..." (golint)
    • Line 570: warning: comment on exported type ServerPostConnectEvent should be of the form "ServerPostConnectEvent ..." (with optional leading article) (golint)
    • Line 609: warning: exported method PluginMessageEvent.Source should have comment or be unexported (golint)
    • Line 612: warning: exported method PluginMessageEvent.Target should have comment or be unexported (golint)
    • Line 615: warning: exported method PluginMessageEvent.Identifier should have comment or be unexported (golint)
    • Line 618: warning: exported method PluginMessageEvent.Data should have comment or be unexported (golint)
    • Line 621: warning: exported method PluginMessageEvent.SetForward should have comment or be unexported (golint)
    • Line 624: warning: exported method PluginMessageEvent.Allowed should have comment or be unexported (golint)
    • Line 628: warning: exported type PluginMessageForwardResult should have comment or be unexported (golint)
    • Line 637: warning: exported type PlayerSettingsChangedEvent should have comment or be unexported (golint)
    • Line 737: warning: comment on exported method PreShutdownEvent.SetReason should be of the form "SetReason ..." (golint)
    • /go.minekube.com/gate/pkg/edition/java/config/config.go
    • Line 100: warning: exported type ForcedHosts should have comment or be unexported (golint)
    • Line 101: warning: exported type Status should have comment or be unexported (golint)
    • Line 107: warning: exported type Query should have comment or be unexported (golint)
    • Line 112: warning: exported type Forwarding should have comment or be unexported (golint)
    • Line 116: warning: exported type Compression should have comment or be unexported (golint)
    • Line 126: warning: exported type QuotaSettings should have comment or be unexported (golint)
    • Line 138: warning: exported const NoneForwardingMode should have comment (or a comment on this block) or be unexported (golint)
    • Line 140: warning: comment on exported const VelocityForwardingMode should be of the form "VelocityForwardingMode ..." (golint)
    • /go.minekube.com/gate/pkg/version/version.go
    • Line 11: warning: exported function String should have comment or be unexported (golint)
    • Line 15: warning: exported function UserAgent should have comment or be unexported (golint)
    • Line 26: warning: exported function UserAgentHeader should have comment or be unexported (golint)
    • /go.minekube.com/gate/pkg/edition/java/ping/pong.go
    • Line 21: warning: exported method ServerPing.MarshalJSON should have comment or be unexported (golint)
    • Line 38: warning: exported type Version should have comment or be unexported (golint)
    • Line 43: warning: exported type Players should have comment or be unexported (golint)
    • Line 49: warning: exported type SamplePlayer 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!