Preparing report...

Report for github.com/edmund-huber/ergonomadic

(v0.0.0-20171004172602-4c86963bbff3)

A    Great!    Found 22 issues across 23 files

Tweet

gofmt86%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


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!


golint4%

Golint is a linter for Go source code.

    • ergonomadic/irc/client_lookup_set.go
    • Line 12: warning: exported var ErrNickMissing should have comment or be unexported (golint)
    • Line 24: warning: exported function HasWildcards should have comment or be unexported (golint)
    • Line 28: warning: exported function ExpandUserHost should have comment or be unexported (golint)
    • Line 40: warning: exported function QuoteLike should have comment or be unexported (golint)
    • Line 44: warning: exported type ClientLookupSet should have comment or be unexported (golint)
    • Line 49: warning: exported function NewClientLookupSet should have comment or be unexported (golint)
    • Line 56: warning: exported method ClientLookupSet.Get should have comment or be unexported (golint)
    • Line 60: warning: exported method ClientLookupSet.Add should have comment or be unexported (golint)
    • Line 72: warning: exported method ClientLookupSet.Remove should have comment or be unexported (golint)
    • Line 84: warning: exported method ClientLookupSet.FindAll should have comment or be unexported (golint)
    • Line 112: warning: exported method ClientLookupSet.Find should have comment or be unexported (golint)
    • Line 130: warning: exported type ClientDB should have comment or be unexported (golint)
    • Line 134: warning: exported function NewClientDB should have comment or be unexported (golint)
    • Line 155: warning: exported method ClientDB.Add should have comment or be unexported (golint)
    • Line 163: warning: exported method ClientDB.Remove should have comment or be unexported (golint)
    • Line 175: warning: exported type UserMaskSet should have comment or be unexported (golint)
    • Line 180: warning: exported function NewUserMaskSet should have comment or be unexported (golint)
    • Line 186: warning: exported method UserMaskSet.Add should have comment or be unexported (golint)
    • Line 195: warning: exported method UserMaskSet.AddAll should have comment or be unexported (golint)
    • Line 206: warning: exported method UserMaskSet.Remove should have comment or be unexported (golint)
    • Line 215: warning: exported method UserMaskSet.Match should have comment or be unexported (golint)
    • ergonomadic/irc/commands.go
    • Line 11: warning: exported type Command should have comment or be unexported (golint)
    • Line 26: warning: error var NotEnoughArgsError should have name of the form ErrFoo (golint)
    • Line 26: warning: exported var NotEnoughArgsError should have comment or be unexported (golint)
    • Line 63: warning: exported type BaseCommand should have comment or be unexported (golint)
    • Line 68: warning: exported method BaseCommand.Client should have comment or be unexported (golint)
    • Line 72: warning: exported method BaseCommand.SetClient should have comment or be unexported (golint)
    • Line 76: warning: exported method BaseCommand.Code should have comment or be unexported (golint)
    • Line 80: warning: exported method BaseCommand.SetCode should have comment or be unexported (golint)
    • Line 84: warning: exported function ParseCommand should have comment or be unexported (golint)
    • Line 113: warning: exported function ParseLine should have comment or be unexported (golint)
    • Line 133: warning: exported type UnknownCommand should have comment or be unexported (golint)
    • Line 138: warning: exported function ParseUnknownCommand should have comment or be unexported (golint)
    • Line 146: warning: exported type PingCommand should have comment or be unexported (golint)
    • Line 152: warning: exported function ParsePingCommand should have comment or be unexported (golint)
    • Line 167: warning: exported type PongCommand should have comment or be unexported (golint)
    • Line 173: warning: exported function ParsePongCommand should have comment or be unexported (golint)
    • Line 188: warning: exported type PassCommand should have comment or be unexported (golint)
    • Line 195: warning: exported method PassCommand.LoadPassword should have comment or be unexported (golint)
    • Line 199: warning: exported method PassCommand.CheckPassword should have comment or be unexported (golint)
    • Line 206: warning: exported function ParsePassCommand should have comment or be unexported (golint)
    • Line 217: warning: exported function ParseNickCommand should have comment or be unexported (golint)
    • Line 226: warning: exported type UserCommand should have comment or be unexported (golint)
    • Line 232: warning: comment on exported type RFC1459UserCommand should be of the form "RFC1459UserCommand ..." (with optional leading article) (golint)
    • Line 239: warning: comment on exported type RFC2812UserCommand should be of the form "RFC2812UserCommand ..." (with optional leading article) (golint)
    • Line 246: warning: exported method RFC2812UserCommand.Flags should have comment or be unexported (golint)
    • Line 257: warning: exported function ParseUserCommand should have comment or be unexported (golint)
    • Line 283: warning: exported type QuitCommand should have comment or be unexported (golint)
    • Line 288: warning: exported function NewQuitCommand should have comment or be unexported (golint)
    • Line 296: warning: exported function ParseQuitCommand should have comment or be unexported (golint)
    • Line 306: warning: exported type JoinCommand should have comment or be unexported (golint)
    • Line 312: warning: exported function ParseJoinCommand should have comment or be unexported (golint)
    • Line 345: warning: exported type PartCommand should have comment or be unexported (golint)
    • Line 351: warning: exported method PartCommand.Message should have comment or be unexported (golint)
    • Line 358: warning: exported function ParsePartCommand should have comment or be unexported (golint)
    • Line 373: warning: exported type PrivMsgCommand should have comment or be unexported (golint)
    • Line 379: warning: exported function ParsePrivMsgCommand should have comment or be unexported (golint)
    • Line 391: warning: exported type TopicCommand should have comment or be unexported (golint)
    • Line 398: warning: exported function ParseTopicCommand should have comment or be unexported (golint)
    • Line 412: warning: exported type ModeChange should have comment or be unexported (golint)
    • Line 421: warning: exported type ModeChanges should have comment or be unexported (golint)
    • Line 441: warning: exported type ModeCommand should have comment or be unexported (golint)
    • Line 447: warning: comment on exported function ParseUserModeCommand should be of the form "ParseUserModeCommand ..." (golint)
    • Line 474: warning: exported type ChannelModeChange should have comment or be unexported (golint)
    • Line 491: warning: exported type ChannelModeChanges should have comment or be unexported (golint)
    • Line 514: warning: exported type ChannelModeCommand should have comment or be unexported (golint)
    • Line 520: warning: comment on exported function ParseChannelModeCommand should be of the form "ParseChannelModeCommand ..." (golint)
    • Line 563: warning: exported function ParseModeCommand should have comment or be unexported (golint)
    • Line 571: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 576: warning: exported type WhoisCommand should have comment or be unexported (golint)
    • Line 582: warning: comment on exported function ParseWhoisCommand should be of the form "ParseWhoisCommand ..." (golint)
    • Line 604: warning: exported type WhoCommand should have comment or be unexported (golint)
    • Line 610: warning: comment on exported function ParseWhoCommand should be of the form "ParseWhoCommand ..." (golint)
    • Line 625: warning: exported type OperCommand should have comment or be unexported (golint)
    • Line 630: warning: exported method OperCommand.LoadPassword should have comment or be unexported (golint)
    • Line 634: warning: comment on exported function ParseOperCommand should be of the form "ParseOperCommand ..." (golint)
    • Line 647: warning: exported type CapCommand should have comment or be unexported (golint)
    • Line 653: warning: exported function ParseCapCommand should have comment or be unexported (golint)
    • Line 672: warning: comment on exported type ProxyCommand should be of the form "ProxyCommand ..." (with optional leading article) (golint)
    • Line 683: warning: exported function NewProxyCommand should have comment or be unexported (golint)
    • Line 691: warning: exported function ParseProxyCommand should have comment or be unexported (golint)
    • Line 705: warning: exported type AwayCommand should have comment or be unexported (golint)
    • Line 710: warning: exported function ParseAwayCommand should have comment or be unexported (golint)
    • Line 720: warning: exported type IsOnCommand should have comment or be unexported (golint)
    • Line 725: warning: exported function ParseIsOnCommand should have comment or be unexported (golint)
    • Line 735: warning: exported type MOTDCommand should have comment or be unexported (golint)
    • Line 740: warning: exported function ParseMOTDCommand should have comment or be unexported (golint)
    • Line 748: warning: exported type NoticeCommand should have comment or be unexported (golint)
    • Line 754: warning: exported function ParseNoticeCommand should have comment or be unexported (golint)
    • Line 764: warning: exported type KickCommand should have comment or be unexported (golint)
    • Line 770: warning: exported method KickCommand.Comment should have comment or be unexported (golint)
    • Line 777: warning: exported function ParseKickCommand should have comment or be unexported (golint)
    • Line 802: warning: exported type ListCommand should have comment or be unexported (golint)
    • Line 808: warning: exported function ParseListCommand should have comment or be unexported (golint)
    • Line 819: warning: exported type NamesCommand should have comment or be unexported (golint)
    • Line 825: warning: exported function ParseNamesCommand should have comment or be unexported (golint)
    • Line 836: warning: exported type DebugCommand should have comment or be unexported (golint)
    • Line 841: warning: exported function ParseDebugCommand should have comment or be unexported (golint)
    • Line 851: warning: exported type VersionCommand should have comment or be unexported (golint)
    • Line 856: warning: exported function ParseVersionCommand should have comment or be unexported (golint)
    • Line 864: warning: exported type InviteCommand should have comment or be unexported (golint)
    • Line 870: warning: exported function ParseInviteCommand should have comment or be unexported (golint)
    • Line 881: warning: exported function ParseTheaterCommand should have comment or be unexported (golint)
    • Line 906: warning: exported type TimeCommand should have comment or be unexported (golint)
    • Line 911: warning: exported function ParseTimeCommand should have comment or be unexported (golint)
    • Line 919: warning: exported type KillCommand should have comment or be unexported (golint)
    • Line 925: warning: exported function ParseKillCommand should have comment or be unexported (golint)
    • Line 935: warning: exported type WhoWasCommand should have comment or be unexported (golint)
    • Line 942: warning: exported function ParseWhoWasCommand should have comment or be unexported (golint)
    • Line 958: warning: exported function ParseOperNickCommand should have comment or be unexported (golint)
    • ergonomadic/irc/config.go
    • Line 11: warning: exported type PassConfig should have comment or be unexported (golint)
    • Line 15: warning: exported method PassConfig.PasswordBytes should have comment or be unexported (golint)
    • Line 23: warning: exported type Config should have comment or be unexported (golint)
    • Line 39: warning: exported method Config.Operators should have comment or be unexported (golint)
    • Line 47: warning: exported method Config.Theaters should have comment or be unexported (golint)
    • Line 59: warning: exported function LoadConfig should have comment or be unexported (golint)
    • ergonomadic/irc/whowas.go
    • Line 3: warning: exported type WhoWasList should have comment or be unexported (golint)
    • Line 9: warning: exported type WhoWas should have comment or be unexported (golint)
    • Line 16: warning: exported function NewWhoWasList should have comment or be unexported (golint)
    • Line 22: warning: exported method WhoWasList.Append should have comment or be unexported (golint)
    • Line 35: warning: exported method WhoWasList.Find should have comment or be unexported (golint)
    • Line 57: warning: comment on exported method WhoWasList.Each should be of the form "Each ..." (golint)
    • ergonomadic/irc/logging.go
    • Line 9: warning: exported type Logging should have comment or be unexported (golint)
    • Line 34: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 45: warning: exported method Logging.SetLevel should have comment or be unexported (golint)
    • Line 52: warning: exported function NewLogging should have comment or be unexported (golint)
    • Line 59: warning: exported var Log should have comment or be unexported (golint)
    • ergonomadic/irc/net.go
    • Line 8: warning: exported function IPString should have comment or be unexported (golint)
    • Line 17: warning: exported function AddrLookupHostname should have comment or be unexported (golint)
    • Line 21: warning: exported function LookupHostname should have comment or be unexported (golint)
    • ergonomadic/irc/nickname.go
    • Line 3: warning: exported type NickCommand should have comment or be unexported (golint)
    • Line 8: warning: exported method NickCommand.HandleRegServer should have comment or be unexported (golint)
    • Line 39: warning: exported method NickCommand.HandleServer should have comment or be unexported (golint)
    • Line 39: warning: receiver name msg should be consistent with previous receiver name m for NickCommand (golint)
    • Line 65: warning: exported type OperNickCommand should have comment or be unexported (golint)
    • Line 71: warning: exported method OperNickCommand.HandleServer should have comment or be unexported (golint)
    • ergonomadic/irc/socket.go
    • Line 10: warning: exported const R should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Socket should have comment or be unexported (golint)
    • Line 21: warning: exported function NewSocket should have comment or be unexported (golint)
    • Line 33: warning: exported method Socket.Close should have comment or be unexported (golint)
    • ergonomadic/irc/theater.go
    • Line 3: warning: exported type TheaterClient should have comment or be unexported (golint)
    • Line 5: warning: exported method TheaterClient.Id should have comment or be unexported (golint)
    • Line 9: warning: exported method TheaterClient.Nick should have comment or be unexported (golint)
    • Line 13: warning: exported type TheaterSubCommand should have comment or be unexported (golint)
    • Line 19: warning: exported type TheaterIdentifyCommand should have comment or be unexported (golint)
    • Line 24: warning: exported method TheaterIdentifyCommand.LoadPassword should have comment or be unexported (golint)
    • Line 28: warning: exported method TheaterIdentifyCommand.HandleServer should have comment or be unexported (golint)
    • Line 54: warning: exported type TheaterPrivMsgCommand should have comment or be unexported (golint)
    • Line 61: warning: exported method TheaterPrivMsgCommand.HandleServer should have comment or be unexported (golint)
    • Line 86: warning: exported type TheaterActionCommand should have comment or be unexported (golint)
    • Line 93: warning: exported method TheaterActionCommand.HandleServer should have comment or be unexported (golint)
    • ergonomadic/irc/websocket.go
    • Line 23: warning: exported type WSContainer should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method WSContainer.SetDeadline should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • ergonomadic/irc/client.go
    • Line 10: warning: exported const IDLE_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 14: warning: exported type Client should have comment or be unexported (golint)
    • Line 36: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 124: warning: exported method Client.Active should have comment or be unexported (golint)
    • Line 128: warning: exported method Client.Touch should have comment or be unexported (golint)
    • Line 140: warning: exported method Client.Idle should have comment or be unexported (golint)
    • Line 150: warning: exported method Client.Register should have comment or be unexported (golint)
    • Line 183: warning: exported method Client.IdleTime should have comment or be unexported (golint)
    • Line 187: warning: exported method Client.SignonTime should have comment or be unexported (golint)
    • Line 191: warning: exported method Client.IdleSeconds should have comment or be unexported (golint)
    • Line 195: warning: exported method Client.HasNick should have comment or be unexported (golint)
    • Line 199: warning: exported method Client.HasUsername should have comment or be unexported (golint)
    • Line 203: warning: comment on exported method Client.ModeString should be of the form "ModeString ..." (golint)
    • Line 204: warning: receiver name c should be consistent with previous receiver name client for Client (golint)
    • Line 215: warning: exported method Client.UserHost should have comment or be unexported (golint)
    • Line 215: warning: receiver name c should be consistent with previous receiver name client for Client (golint)
    • Line 223: warning: exported method Client.Nick should have comment or be unexported (golint)
    • Line 223: warning: receiver name c should be consistent with previous receiver name client for Client (golint)
    • Line 230: warning: exported method Client.Id should have comment or be unexported (golint)
    • Line 230: warning: receiver name c should be consistent with previous receiver name client for Client (golint)
    • Line 234: warning: receiver name c should be consistent with previous receiver name client for Client (golint)
    • Line 238: warning: exported method Client.Friends should have comment or be unexported (golint)
    • Line 249: warning: exported method Client.SetNickname should have comment or be unexported (golint)
    • Line 258: warning: exported method Client.ChangeNickname should have comment or be unexported (golint)
    • Line 270: warning: exported method Client.Reply should have comment or be unexported (golint)
    • Line 274: warning: exported method Client.Quit should have comment or be unexported (golint)
    • ergonomadic/irc/constants.go
    • Line 4: warning: exported const SEM_VER should have comment (or a comment on this block) or be unexported (golint)
    • Line 8: warning: comment on exported const AWAY should be of the form "AWAY ..." (golint)
    • Line 42: warning: comment on exported const RPL_WELCOME should be of the form "RPL_WELCOME ..." (golint)
    • ergonomadic/irc/reply.go
    • Line 9: warning: exported type ReplyCode should have comment or be unexported (golint)
    • Line 13: warning: exported type StringCode should have comment or be unexported (golint)
    • Line 19: warning: exported type NumericCode should have comment or be unexported (golint)
    • Line 25: warning: exported function NewStringReply should have comment or be unexported (golint)
    • Line 42: warning: exported function NewNumericReply should have comment or be unexported (golint)
    • Line 54: warning: exported method Client.NumericReply should have comment or be unexported (golint)
    • Line 71: warning: exported method Client.MultilineReply should have comment or be unexported (golint)
    • Line 98: warning: exported function RplPrivMsg should have comment or be unexported (golint)
    • Line 102: warning: exported function RplCTCPAction should have comment or be unexported (golint)
    • Line 106: warning: exported function RplNotice should have comment or be unexported (golint)
    • Line 110: warning: exported function RplNick should have comment or be unexported (golint)
    • Line 114: warning: exported function RplJoin should have comment or be unexported (golint)
    • Line 118: warning: exported function RplPart should have comment or be unexported (golint)
    • Line 122: warning: exported function RplModeChanges should have comment or be unexported (golint)
    • Line 126: warning: exported function RplCurrentMode should have comment or be unexported (golint)
    • Line 128: warning: should omit 2nd value from range; this loop is equivalent to `for mode := range ...` (golint)
    • Line 133: warning: should omit 2nd value from range; this loop is equivalent to `for channel := range ...` (golint)
    • Line 141: warning: exported function RplChannelMode should have comment or be unexported (golint)
    • Line 146: warning: exported function RplTopicMsg should have comment or be unexported (golint)
    • Line 150: warning: exported function RplPing should have comment or be unexported (golint)
    • Line 154: warning: exported function RplPong should have comment or be unexported (golint)
    • Line 159: warning: exported function RplQuit should have comment or be unexported (golint)
    • Line 163: warning: exported function RplError should have comment or be unexported (golint)
    • Line 167: warning: exported function RplInviteMsg should have comment or be unexported (golint)
    • Line 171: warning: exported function RplKick should have comment or be unexported (golint)
    • Line 176: warning: exported function RplKill should have comment or be unexported (golint)
    • Line 181: warning: exported function RplCap should have comment or be unexported (golint)
    • Line 187: warning: exported method Client.RplWelcome should have comment or be unexported (golint)
    • Line 192: warning: exported method Client.RplYourHost should have comment or be unexported (golint)
    • Line 197: warning: exported method Client.RplCreated should have comment or be unexported (golint)
    • Line 202: warning: exported method Client.RplMyInfo should have comment or be unexported (golint)
    • Line 208: warning: exported method Client.RplUModeIs should have comment or be unexported (golint)
    • Line 212: warning: exported method Client.RplNoTopic should have comment or be unexported (golint)
    • Line 217: warning: exported method Client.RplTopic should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method Client.RplInvitingMsg should be of the form "RplInvitingMsg ..." (golint)
    • Line 229: warning: exported method Client.RplEndOfNames should have comment or be unexported (golint)
    • Line 234: warning: comment on exported method Client.RplYoureOper should be of the form "RplYoureOper ..." (golint)
    • Line 240: warning: exported method Client.RplWhois should have comment or be unexported (golint)
    • Line 250: warning: exported method Client.RplWhoisUser should have comment or be unexported (golint)
    • Line 256: warning: exported method Client.RplWhoisOperator should have comment or be unexported (golint)
    • Line 261: warning: exported method Client.RplWhoisIdle should have comment or be unexported (golint)
    • Line 267: warning: exported method Client.RplEndOfWhois should have comment or be unexported (golint)
    • Line 272: warning: exported method Client.RplChannelModeIs should have comment or be unexported (golint)
    • Line 277: warning: comment on exported method Client.RplWhoReply should be of the form "RplWhoReply ..." (golint)
    • Line 314: warning: comment on exported method Client.RplEndOfWho should be of the form "RplEndOfWho ..." (golint)
    • Line 320: warning: exported method Client.RplMaskList should have comment or be unexported (golint)
    • Line 333: warning: exported method Client.RplEndOfMaskList should have comment or be unexported (golint)
    • Line 346: warning: exported method Client.RplBanList should have comment or be unexported (golint)
    • Line 351: warning: exported method Client.RplEndOfBanList should have comment or be unexported (golint)
    • Line 356: warning: exported method Client.RplExceptList should have comment or be unexported (golint)
    • Line 361: warning: exported method Client.RplEndOfExceptList should have comment or be unexported (golint)
    • Line 366: warning: exported method Client.RplInviteList should have comment or be unexported (golint)
    • Line 371: warning: exported method Client.RplEndOfInviteList should have comment or be unexported (golint)
    • Line 376: warning: exported method Client.RplNowAway should have comment or be unexported (golint)
    • Line 381: warning: exported method Client.RplUnAway should have comment or be unexported (golint)
    • Line 386: warning: exported method Client.RplAway should have comment or be unexported (golint)
    • Line 391: warning: exported method Client.RplIsOn should have comment or be unexported (golint)
    • Line 396: warning: exported method Client.RplMOTDStart should have comment or be unexported (golint)
    • Line 401: warning: exported method Client.RplMOTD should have comment or be unexported (golint)
    • Line 406: warning: exported method Client.RplMOTDEnd should have comment or be unexported (golint)
    • Line 411: warning: exported method Client.RplList should have comment or be unexported (golint)
    • Line 416: warning: exported method Client.RplListEnd should have comment or be unexported (golint)
    • Line 421: warning: exported method Client.RplNamReply should have comment or be unexported (golint)
    • Line 426: warning: exported method Client.RplWhoisChannels should have comment or be unexported (golint)
    • Line 431: warning: exported method Client.RplVersion should have comment or be unexported (golint)
    • Line 436: warning: exported method Client.RplInviting should have comment or be unexported (golint)
    • Line 441: warning: exported method Client.RplTime should have comment or be unexported (golint)
    • Line 446: warning: exported method Client.RplWhoWasUser should have comment or be unexported (golint)
    • Line 452: warning: exported method Client.RplEndOfWhoWas should have comment or be unexported (golint)
    • Line 461: warning: exported method Client.ErrAlreadyRegistered should have comment or be unexported (golint)
    • Line 466: warning: exported method Client.ErrNickNameInUse should have comment or be unexported (golint)
    • Line 471: warning: exported method Client.ErrUnknownCommand should have comment or be unexported (golint)
    • Line 476: warning: exported method Client.ErrUsersDontMatch should have comment or be unexported (golint)
    • Line 481: warning: exported method Client.ErrNeedMoreParams should have comment or be unexported (golint)
    • Line 486: warning: exported method Client.ErrNoSuchChannel should have comment or be unexported (golint)
    • Line 491: warning: exported method Client.ErrUserOnChannel should have comment or be unexported (golint)
    • Line 496: warning: exported method Client.ErrNotOnChannel should have comment or be unexported (golint)
    • Line 501: warning: exported method Client.ErrInviteOnlyChannel should have comment or be unexported (golint)
    • Line 506: warning: exported method Client.ErrBadChannelKey should have comment or be unexported (golint)
    • Line 511: warning: exported method Client.ErrNoSuchNick should have comment or be unexported (golint)
    • Line 516: warning: exported method Client.ErrPasswdMismatch should have comment or be unexported (golint)
    • Line 520: warning: exported method Client.ErrNoChanModes should have comment or be unexported (golint)
    • Line 525: warning: exported method Client.ErrNoPrivileges should have comment or be unexported (golint)
    • Line 529: warning: exported method Client.ErrRestricted should have comment or be unexported (golint)
    • Line 533: warning: exported method Client.ErrNoSuchServer should have comment or be unexported (golint)
    • Line 537: warning: exported method Client.ErrUserNotInChannel should have comment or be unexported (golint)
    • Line 542: warning: exported method Client.ErrCannotSendToChan should have comment or be unexported (golint)
    • Line 547: warning: comment on exported method Client.ErrChanOPrivIsNeeded should be of the form "ErrChanOPrivIsNeeded ..." (golint)
    • Line 553: warning: exported method Client.ErrNoMOTD should have comment or be unexported (golint)
    • Line 557: warning: exported method Client.ErrNoNicknameGiven should have comment or be unexported (golint)
    • Line 561: warning: exported method Client.ErrErroneusNickname should have comment or be unexported (golint)
    • Line 566: warning: exported method Client.ErrUnknownMode should have comment or be unexported (golint)
    • Line 571: warning: exported method Client.ErrConfiguredMode should have comment or be unexported (golint)
    • Line 576: warning: exported method Client.ErrChannelIsFull should have comment or be unexported (golint)
    • Line 581: warning: exported method Client.ErrWasNoSuchNick should have comment or be unexported (golint)
    • Line 586: warning: exported method Client.ErrInvalidCapCmd should have comment or be unexported (golint)
    • Line 591: warning: exported method Client.ErrBannedFromChan should have comment or be unexported (golint)
    • Line 596: warning: exported method Client.ErrInviteOnlyChan should have comment or be unexported (golint)
    • ergonomadic/irc/strings.go
    • Line 11: warning: comment on exported var ChannelNameExpr should be of the form "ChannelNameExpr ..." (golint)
    • Line 13: warning: exported var NicknameExpr should have comment or be unexported (golint)
    • Line 16: warning: comment on exported type Name should be of the form "Name ..." (with optional leading article) (golint)
    • Line 20: warning: exported function NewName should have comment or be unexported (golint)
    • Line 24: warning: exported function NewNames should have comment or be unexported (golint)
    • Line 34: warning: exported method Name.IsChannel should have comment or be unexported (golint)
    • Line 38: warning: exported method Name.IsNickname should have comment or be unexported (golint)
    • Line 56: warning: exported method Name.ToLower should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method Name.Text should be of the form "Text ..." (golint)
    • Line 69: warning: exported function NewText should have comment or be unexported (golint)
    • Line 82: warning: exported function NewCTCPText should have comment or be unexported (golint)
    • ergonomadic/irc/types.go
    • Line 12: warning: exported type ChannelNameMap should have comment or be unexported (golint)
    • Line 14: warning: exported method ChannelNameMap.Get should have comment or be unexported (golint)
    • Line 18: warning: exported method ChannelNameMap.Add should have comment or be unexported (golint)
    • Line 26: warning: exported method ChannelNameMap.Remove should have comment or be unexported (golint)
    • Line 34: warning: exported type ChannelModeSet should have comment or be unexported (golint)
    • Line 49: warning: exported type ClientSet should have comment or be unexported (golint)
    • Line 51: warning: exported method ClientSet.Add should have comment or be unexported (golint)
    • Line 55: warning: exported method ClientSet.Remove should have comment or be unexported (golint)
    • Line 59: warning: exported method ClientSet.Has should have comment or be unexported (golint)
    • Line 63: warning: exported type MemberSet should have comment or be unexported (golint)
    • Line 65: warning: exported method MemberSet.Add should have comment or be unexported (golint)
    • Line 69: warning: exported method MemberSet.Remove should have comment or be unexported (golint)
    • Line 73: warning: exported method MemberSet.Has should have comment or be unexported (golint)
    • Line 78: warning: exported method MemberSet.HasMode should have comment or be unexported (golint)
    • Line 86: warning: exported method MemberSet.AnyHasMode should have comment or be unexported (golint)
    • Line 95: warning: exported type ChannelSet should have comment or be unexported (golint)
    • Line 97: warning: exported method ChannelSet.Add should have comment or be unexported (golint)
    • Line 101: warning: exported method ChannelSet.Remove should have comment or be unexported (golint)
    • Line 105: warning: exported method ChannelSet.First should have comment or be unexported (golint)
    • Line 116: warning: exported type Identifiable should have comment or be unexported (golint)
    • ergonomadic/irc/capability.go
    • Line 7: warning: exported type CapSubCommand should have comment or be unexported (golint)
    • Line 10: warning: exported const CAP_LS should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: comment on exported type Capability should be of the form "Capability ..." (with optional leading article) (golint)
    • Line 23: warning: exported const MultiPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported var SupportedCapabilities should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type CapModifier should be of the form "CapModifier ..." (with optional leading article) (golint)
    • Line 42: warning: exported const Ack should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported type CapState should have comment or be unexported (golint)
    • Line 54: warning: exported const CapNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported type CapabilitySet should have comment or be unexported (golint)
    • Line 71: warning: exported method CapabilitySet.DisableString should have comment or be unexported (golint)
    • Line 81: warning: exported method CapCommand.HandleRegServer should have comment or be unexported (golint)
    • ergonomadic/irc/channel.go
    • Line 8: warning: exported type Channel should have comment or be unexported (golint)
    • Line 39: warning: exported method Channel.IsEmpty should have comment or be unexported (golint)
    • Line 43: warning: exported method Channel.Names should have comment or be unexported (golint)
    • Line 48: warning: exported method Channel.ClientIsOperator should have comment or be unexported (golint)
    • Line 52: warning: exported method Channel.Nicks should have comment or be unexported (golint)
    • Line 77: warning: exported method Channel.Id should have comment or be unexported (golint)
    • Line 81: warning: exported method Channel.Nick should have comment or be unexported (golint)
    • Line 89: warning: comment on exported method Channel.ModeString should be of the form "ModeString ..." (golint)
    • Line 122: warning: exported method Channel.IsFull should have comment or be unexported (golint)
    • Line 127: warning: exported method Channel.CheckKey should have comment or be unexported (golint)
    • Line 131: warning: exported method Channel.Join should have comment or be unexported (golint)
    • Line 175: warning: exported method Channel.Part should have comment or be unexported (golint)
    • Line 188: warning: exported method Channel.GetTopic should have comment or be unexported (golint)
    • Line 203: warning: exported method Channel.SetTopic should have comment or be unexported (golint)
    • Line 226: warning: exported method Channel.CanSpeak should have comment or be unexported (golint)
    • Line 240: warning: exported method Channel.PrivMsg should have comment or be unexported (golint)
    • Line 320: warning: exported method Channel.ShowMaskList should have comment or be unexported (golint)
    • Line 413: warning: exported method Channel.Mode should have comment or be unexported (golint)
    • Line 438: warning: exported method Channel.Persist should have comment or be unexported (golint)
    • Line 455: warning: exported method Channel.Notice should have comment or be unexported (golint)
    • Line 469: warning: exported method Channel.Quit should have comment or be unexported (golint)
    • Line 478: warning: exported method Channel.Kick should have comment or be unexported (golint)
    • Line 499: warning: exported method Channel.Invite should have comment or be unexported (golint)
    • ergonomadic/irc/database.go
    • Line 6: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported function InitDB should have comment or be unexported (golint)
    • Line 30: warning: exported function UpgradeDB should have comment or be unexported (golint)
    • Line 42: warning: exported function OpenDB should have comment or be unexported (golint)
    • ergonomadic/irc/modes.go
    • Line 7: warning: comment on exported type UserMode should be of the form "UserMode ..." (with optional leading article) (golint)
    • Line 14: warning: exported type UserModes should have comment or be unexported (golint)
    • Line 24: warning: comment on exported type ChannelMode should be of the form "ChannelMode ..." (with optional leading article) (golint)
    • Line 31: warning: exported type ChannelModes should have comment or be unexported (golint)
    • Line 41: warning: exported type ModeOp should have comment or be unexported (golint)
    • Line 48: warning: exported const Add should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported const Away should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported var SupportedUserModes should have comment or be unexported (golint)
    • Line 70: warning: exported const Anonymous should have comment (or a comment on this block) or be unexported (golint)
    • Line 92: warning: exported var SupportedChannelModes should have comment or be unexported (golint)
    • Line 102: warning: exported method ModeCommand.HandleServer should have comment or be unexported (golint)
    • Line 156: warning: exported method ChannelModeCommand.HandleServer should have comment or be unexported (golint)
    • ergonomadic/irc/password.go
    • Line 10: warning: error var EmptyPasswordError should have name of the form ErrFoo (golint)
    • Line 10: warning: exported var EmptyPasswordError should have comment or be unexported (golint)
    • Line 13: warning: exported function GenerateEncodedPassword should have comment or be unexported (golint)
    • Line 26: warning: exported function DecodePassword should have comment or be unexported (golint)
    • Line 35: warning: exported function ComparePassword should have comment or be unexported (golint)
    • ergonomadic/irc/server.go
    • Line 17: warning: exported type ServerCommand should have comment or be unexported (golint)
    • Line 22: warning: exported type RegServerCommand should have comment or be unexported (golint)
    • Line 27: warning: exported type Server should have comment or be unexported (golint)
    • Line 45: warning: exported var SERVER_SIGNALS should have comment or be unexported (golint)
    • Line 49: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 158: warning: exported method Server.Shutdown should have comment or be unexported (golint)
    • Line 165: warning: exported method Server.Run should have comment or be unexported (golint)
    • Line 189: warning: receiver name s should be consistent with previous receiver name server for Server (golint)
    • Line 215: warning: receiver name s should be consistent with previous receiver name server for Server (golint)
    • Line 250: warning: receiver name s should be consistent with previous receiver name server for Server (golint)
    • Line 264: warning: exported method Server.MOTD should have comment or be unexported (golint)
    • Line 291: warning: exported method Server.Id should have comment or be unexported (golint)
    • Line 291: warning: receiver name s should be consistent with previous receiver name server for Server (golint)
    • Line 295: warning: receiver name s should be consistent with previous receiver name server for Server (golint)
    • Line 299: warning: exported method Server.Nick should have comment or be unexported (golint)
    • Line 299: warning: receiver name s should be consistent with previous receiver name server for Server (golint)
    • Line 303: warning: exported method Server.Reply should have comment or be unexported (golint)
    • Line 307: warning: exported method Server.Replyf should have comment or be unexported (golint)
    • Line 315: warning: exported method PassCommand.HandleRegServer should have comment or be unexported (golint)
    • Line 326: warning: exported method ProxyCommand.HandleRegServer should have comment or be unexported (golint)
    • Line 330: warning: exported method RFC1459UserCommand.HandleRegServer should have comment or be unexported (golint)
    • Line 340: warning: exported method RFC2812UserCommand.HandleRegServer should have comment or be unexported (golint)
    • Line 370: warning: exported method QuitCommand.HandleRegServer should have comment or be unexported (golint)
    • Line 378: warning: exported method PassCommand.HandleServer should have comment or be unexported (golint)
    • Line 378: warning: receiver name m should be consistent with previous receiver name msg for PassCommand (golint)
    • Line 382: warning: exported method PingCommand.HandleServer should have comment or be unexported (golint)
    • Line 387: warning: exported method PongCommand.HandleServer should have comment or be unexported (golint)
    • Line 391: warning: exported method UserCommand.HandleServer should have comment or be unexported (golint)
    • Line 391: warning: receiver name m should be consistent with previous receiver name msg for UserCommand (golint)
    • Line 395: warning: exported method QuitCommand.HandleServer should have comment or be unexported (golint)
    • Line 399: warning: exported method JoinCommand.HandleServer should have comment or be unexported (golint)
    • Line 423: warning: exported method PartCommand.HandleServer should have comment or be unexported (golint)
    • Line 437: warning: exported method TopicCommand.HandleServer should have comment or be unexported (golint)
    • Line 452: warning: exported method PrivMsgCommand.HandleServer should have comment or be unexported (golint)
    • Line 476: warning: exported method Client.WhoisChannelsNames should have comment or be unexported (golint)
    • Line 495: warning: exported method WhoisCommand.HandleServer should have comment or be unexported (golint)
    • Line 520: warning: exported method WhoCommand.HandleServer should have comment or be unexported (golint)
    • Line 544: warning: exported method OperCommand.HandleServer should have comment or be unexported (golint)
    • Line 560: warning: exported method AwayCommand.HandleServer should have comment or be unexported (golint)
    • Line 583: warning: exported method IsOnCommand.HandleServer should have comment or be unexported (golint)
    • Line 596: warning: exported method MOTDCommand.HandleServer should have comment or be unexported (golint)
    • Line 600: warning: exported method NoticeCommand.HandleServer should have comment or be unexported (golint)
    • Line 621: warning: exported method KickCommand.HandleServer should have comment or be unexported (golint)
    • Line 640: warning: exported method ListCommand.HandleServer should have comment or be unexported (golint)
    • Line 669: warning: exported method NamesCommand.HandleServer should have comment or be unexported (golint)
    • Line 688: warning: exported method VersionCommand.HandleServer should have comment or be unexported (golint)
    • Line 698: warning: exported method InviteCommand.HandleServer should have comment or be unexported (golint)
    • Line 717: warning: exported method TimeCommand.HandleServer should have comment or be unexported (golint)
    • Line 726: warning: exported method KillCommand.HandleServer should have comment or be unexported (golint)
    • Line 743: warning: exported method WhoWasCommand.HandleServer 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!


misspell91%

Misspell Finds commonly misspelled English words