Preparing report...

Report for gitlab.com/lightmeter/controlcenter

(v0.0.0-20211211193131-77feb6ab6ec5)

A+    Excellent!    Found 191 issues across 366 files

Tweet

gofmt97%

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!


gocyclo97%

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.

    • auth/auth.go
    • Line 349: warning: cyclomatic complexity 16 of function (*Auth).ChangeUserInfo() is high (> 15) (gocyclo)
    • httpsettings/settings.go
    • Line 113: warning: cyclomatic complexity 20 of function (*Settings).SettingsHandler() is high (> 15) (gocyclo)
    • Line 274: warning: cyclomatic complexity 19 of function (*Settings).InitialSetupHandler() is high (> 15) (gocyclo)
    • Line 195: warning: cyclomatic complexity 18 of function (*Settings).GeneralSettingsHandler() is high (> 15) (gocyclo)
    • Line 488: warning: cyclomatic complexity 16 of function (*Settings).NotificationSettingsHandler() is high (> 15) (gocyclo)
    • connectionstats/stats.go
    • Line 71: warning: cyclomatic complexity 19 of function commandAsString() is high (> 15) (gocyclo)
    • Line 116: warning: cyclomatic complexity 19 of function buildCommand() is high (> 15) (gocyclo)

golint50%

Golint is a linter for Go source code.

    • lmsqlite3/dbconn/prepared_stmts.go
    • Line 13: warning: comment on exported type PreparedStmts should be of the form "PreparedStmts ..." (with optional leading article) (golint)
    • Line 19: warning: comment on exported type TxPreparedStmts should be of the form "TxPreparedStmts ..." (with optional leading article) (golint)
    • Line 33: warning: exported function TxStmts should have comment or be unexported (golint)
    • Line 48: warning: exported type StmtsText should have comment or be unexported (golint)
    • Line 50: warning: exported function BuildPreparedStmts should have comment or be unexported (golint)
    • Line 54: warning: exported function PrepareRwStmts should have comment or be unexported (golint)
    • pkg/runner/dependant.go
    • Line 11: warning: comment on exported function NewDependantPairCancellableRunner should be of the form "NewDependantPairCancellableRunner ..." (golint)
    • intel/collector/dispatcher.go
    • Line 19: warning: exported type Dispatcher should have comment or be unexported (golint)
    • Line 23: warning: exported type ReportPayload should have comment or be unexported (golint)
    • Line 25: warning: exported type ReportEntry should have comment or be unexported (golint)
    • Line 31: warning: exported type Report should have comment or be unexported (golint)
    • Line 53: warning: exported function TryToDispatchReports should have comment or be unexported (golint)
    • Line 130: warning: exported function Step should have comment or be unexported (golint)
    • insights/engine.go
    • Line 13: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 44: warning: exported type Accessor should have comment or be unexported (golint)
    • Line 48: warning: exported function NewAccessor should have comment or be unexported (golint)
    • Line 52: warning: exported method Accessor.NotificationPolicy should have comment or be unexported (golint)
    • Line 56: warning: exported type Engine should have comment or be unexported (golint)
    • Line 68: warning: exported function NewCustomEngine should have comment or be unexported (golint)
    • Line 382: warning: exported method Engine.ImportAnnouncer should have comment or be unexported (golint)
    • Line 386: warning: exported method Engine.ProgressFetcher should have comment or be unexported (golint)
    • Line 390: warning: exported method Engine.RateInsight should have comment or be unexported (golint)
    • Line 409: warning: exported method Engine.GenerateInsight should have comment or be unexported (golint)
    • notification/core/notifier.go
    • Line 13: warning: exported type Settings should have comment or be unexported (golint)
    • Line 15: warning: exported var ErrInvalidSettings should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type Notifier should be of the form "Notifier ..." (with optional leading article) (golint)
    • Line 23: warning: exported type Notification should have comment or be unexported (golint)
    • Line 28: warning: exported type ContentMetadata should have comment or be unexported (golint)
    • Line 30: warning: exported type ContentComponent should have comment or be unexported (golint)
    • Line 35: warning: exported type Content should have comment or be unexported (golint)
    • notification/core/policy.go
    • Line 11: warning: exported type Policy should have comment or be unexported (golint)
    • Line 16: warning: exported type Policies should have comment or be unexported (golint)
    • Line 18: warning: exported method Policies.Reject should have comment or be unexported (golint)
    • Line 40: warning: exported var PassPolicy should have comment or be unexported (golint)
    • pkg/postfix/logparser/timeutil/util.go
    • Line 11: warning: exported type TimeConverter should have comment or be unexported (golint)
    • Line 20: warning: exported function NewTimeConverter should have comment or be unexported (golint)
    • Line 37: warning: exported function DefaultTimeInYear should have comment or be unexported (golint)
    • Line 41: warning: exported method TimeConverter.Convert should have comment or be unexported (golint)
    • newsletter/newsletter.go
    • Line 21: warning: exported var ErrSubscribingToNewsletter should have comment or be unexported (golint)
    • Line 23: warning: exported type Subscriber should have comment or be unexported (golint)
    • Line 27: warning: exported type FakeNewsletterSubscriber should have comment or be unexported (golint)
    • Line 32: warning: exported method FakeNewsletterSubscriber.Subscribe should have comment or be unexported (golint)
    • Line 42: warning: exported type HTTPSubscriber should have comment or be unexported (golint)
    • Line 71: warning: exported method HTTPSubscriber.Subscribe should have comment or be unexported (golint)
    • intel/intel.go
    • Line 41: warning: exported type SchedFileReader should have comment or be unexported (golint)
    • Line 43: warning: exported var ErrFailedReadingSchedFile should have comment or be unexported (golint)
    • Line 75: warning: exported function DefaultSchedFileReader should have comment or be unexported (golint)
    • Line 79: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 90: warning: exported type Version should have comment or be unexported (golint)
    • Line 96: warning: exported type ReportWithMetadata should have comment or be unexported (golint)
    • Line 102: warning: exported type Dispatcher should have comment or be unexported (golint)
    • Line 112: warning: exported method Dispatcher.Dispatch should have comment or be unexported (golint)
    • Line 272: warning: exported type Options should have comment or be unexported (golint)
    • Line 289: warning: exported function DefaultVersionBuilder should have comment or be unexported (golint)
    • Line 293: warning: exported function New should have comment or be unexported (golint)
    • Line 347: warning: exported type Runner should have comment or be unexported (golint)
    • tools/gotestdata/valid/main.go
    • Line 9: warning: exported function I18n should have comment or be unexported (golint)
    • Line 13: warning: exported type DataA should have comment or be unexported (golint)
    • Line 19: warning: exported type DataB should have comment or be unexported (golint)
    • util/testutil/tempdb.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 46: warning: exported function TempDBConnectionMigrated should have comment or be unexported (golint)
    • tracking/tracking.go
    • Line 15: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 30: warning: exported type ActionType should have comment or be unexported (golint)
    • Line 43: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 47: warning: exported method Publisher.Publish should have comment or be unexported (golint)
    • Line 78: warning: exported type Tracker should have comment or be unexported (golint)
    • Line 89: warning: exported method Tracker.MostRecentLogTime should have comment or be unexported (golint)
    • Line 141: warning: exported method Tracker.Publisher should have comment or be unexported (golint)
    • Line 187: warning: exported function New should have comment or be unexported (golint)
    • connectionstats/access.go
    • Line 16: warning: exported type AttemptDesc should have comment or be unexported (golint)
    • Line 22: warning: exported type AccessResult should have comment or be unexported (golint)
    • Line 27: warning: exported type Accessor should have comment or be unexported (golint)
    • Line 36: warning: exported function NewAccessor should have comment or be unexported (golint)
    • Line 70: warning: exported method Accessor.FetchAuthAttempts should have comment or be unexported (golint)
    • connectionstats/stats.go
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 25: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 28: warning: comment on exported const ProtocolSMTP should be of the form "ProtocolSMTP ..." (golint)
    • Line 30: warning: exported const ProtocolIMAP should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type Command should have comment or be unexported (golint)
    • Line 35: warning: exported method Command.MarshalText should have comment or be unexported (golint)
    • Line 43: warning: comment on exported const UnknownCommand should be of the form "UnknownCommand ..." (golint)
    • Line 45: warning: exported const AuthCommand should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: comment on exported const DovecotAuthCommand should be of the form "DovecotAuthCommand ..." (golint)
    • Line 114: warning: exported var ErrCommandNotSupported should have comment or be unexported (golint)
    • Line 283: warning: exported type Stats should have comment or be unexported (golint)
    • Line 290: warning: exported function New should have comment or be unexported (golint)
    • Line 311: warning: exported method Stats.Publisher should have comment or be unexported (golint)
    • Line 315: warning: exported method Stats.MostRecentLogTime should have comment or be unexported (golint)
    • insights/core/progress.go
    • Line 17: warning: exported type Progress should have comment or be unexported (golint)
    • Line 23: warning: exported type ProgressFetcher should have comment or be unexported (golint)
    • Line 80: warning: exported function NewProgressFetcher should have comment or be unexported (golint)
    • metadata/migrations/create_meta_table.go
    • Line 23: warning: exported function UpMetaTable should have comment or be unexported (golint)
    • Line 37: warning: exported function DownMetaTable should have comment or be unexported (golint)
    • Line 41: warning: exported function IndexMetaTable should have comment or be unexported (golint)
    • Line 52: warning: exported function DropIndexMetaTable should have comment or be unexported (golint)
    • detective/detective.go
    • Line 23: warning: exported type Detective should have comment or be unexported (golint)
    • Line 37: warning: exported function New should have comment or be unexported (golint)
    • Line 128: warning: exported var ErrNoAvailableLogs should have comment or be unexported (golint)
    • Line 167: warning: exported type QueueName should have comment or be unexported (golint)
    • Line 169: warning: exported type Message should have comment or be unexported (golint)
    • Line 174: warning: exported type Messages should have comment or be unexported (golint)
    • Line 176: warning: exported type MessagesPage should have comment or be unexported (golint)
    • Line 184: warning: exported type Status should have comment or be unexported (golint)
    • Line 186: warning: exported method Status.MarshalJSON should have comment or be unexported (golint)
    • Line 190: warning: exported method Status.UnmarshalJSON should have comment or be unexported (golint)
    • Line 206: warning: exported type MessageDelivery should have comment or be unexported (golint)
    • intel/core/core.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 18: warning: exported type Options should have comment or be unexported (golint)
    • Line 26: warning: exported function NewRunner should have comment or be unexported (golint)
    • Line 35: warning: exported function MakeCleanAction should have comment or be unexported (golint)
    • insights/testutil/util.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 23: warning: exported type FakeClock should have comment or be unexported (golint)
    • Line 25: warning: exported type FakeAccessor should have comment or be unexported (golint)
    • Line 32: warning: exported method FakeAccessor.GenerateInsight should have comment or be unexported (golint)
    • Line 81: warning: exported function ExecuteCyclesUntil should have comment or be unexported (golint)
    • recommendation/url_container.go
    • Line 7: warning: exported type Link should have comment or be unexported (golint)
    • Line 12: warning: exported type URLContainer should have comment or be unexported (golint)
    • Line 18: warning: exported function NewURLContainer should have comment or be unexported (golint)
    • insights/newsfeed/newsfeed.go
    • Line 27: warning: exported type Options should have comment or be unexported (golint)
    • Line 116: warning: exported function NewDetector should have comment or be unexported (golint)
    • Line 175: warning: exported type Content should have comment or be unexported (golint)
    • Line 183: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 187: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 191: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 349: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • util/stringutil/sensitive.go
    • Line 8: warning: exported type Sensitive should have comment or be unexported (golint)
    • Line 10: warning: exported function MakeSensitive should have comment or be unexported (golint)
    • logeater/announcer/synchronized.go
    • Line 15: warning: exported type MostRecentLogTimeProvider should have comment or be unexported (golint)
    • Line 17: warning: exported type SynchronizingAnnouncer should have comment or be unexported (golint)
    • Line 24: warning: comment on exported function NewSynchronizingAnnouncer should be of the form "NewSynchronizingAnnouncer ..." (golint)
    • Line 31: warning: exported method SynchronizingAnnouncer.AnnounceStart should have comment or be unexported (golint)
    • Line 35: warning: exported method SynchronizingAnnouncer.AnnounceProgress should have comment or be unexported (golint)
    • util/timeutil/timeutil.go
    • Line 25: warning: comment on exported function PrettyFormatTime should be of the form "PrettyFormatTime ..." (golint)
    • Line 40: warning: comment on exported function Format should be of the form "Format ..." (golint)
    • Line 57: warning: exported function MustParseTimeInterval should have comment or be unexported (golint)
    • pkg/postfix/logparser/rawparser/parser.go
    • Line 33: warning: exported type RawHeader should have comment or be unexported (golint)
    • Line 42: warning: exported type TimeFormat should have comment or be unexported (golint)
    • Line 76: warning: exported function ParseHeaderWithCustomTimeFormat should have comment or be unexported (golint)
    • Line 98: warning: exported function ParseHeader should have comment or be unexported (golint)
    • Line 102: warning: exported function ParsePayload should have comment or be unexported (golint)
    • tracking/utils.go
    • Line 47: warning: exported type DeletionError should have comment or be unexported (golint)
    • Line 327: warning: exported var ErrInvalidAffectedLines should have comment or be unexported (golint)
    • lmsqlite3/dbconn/conncounters.go
    • Line 14: warning: exported type Mode should have comment or be unexported (golint)
    • Line 17: warning: exported const ROMode should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type CounterKey should have comment or be unexported (golint)
    • Line 31: warning: exported function CountDetails should have comment or be unexported (golint)
    • Line 68: warning: exported function CountOpenConnections should have comment or be unexported (golint)
    • insights/detectiveescalation/escalation.go
    • Line 24: warning: exported type Options should have comment or be unexported (golint)
    • Line 29: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type Content should have comment or be unexported (golint)
    • Line 44: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 48: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 52: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 93: warning: exported function NewDetector should have comment or be unexported (golint)
    • Line 197: warning: exported function BuildInsightProperties should have comment or be unexported (golint)
    • Line 207: warning: exported var SampleInsightContent should have comment or be unexported (golint)
    • pkg/dbrunner/runner.go
    • Line 16: warning: exported type Action should have comment or be unexported (golint)
    • Line 18: warning: exported type Actions should have comment or be unexported (golint)
    • Line 20: warning: exported type Runner should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • rawlogsdb/rawlogs.go
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 20: warning: exported type DB should have comment or be unexported (golint)
    • Line 40: warning: exported function New should have comment or be unexported (golint)
    • Line 60: warning: exported method DB.Publisher should have comment or be unexported (golint)
    • domainmapping/mapping.go
    • Line 12: warning: exported type RawList should have comment or be unexported (golint)
    • Line 14: warning: exported type Mapper should have comment or be unexported (golint)
    • Line 35: warning: exported function Mapping should have comment or be unexported (golint)
    • Line 45: warning: exported method Mapper.Resolve should have comment or be unexported (golint)
    • Line 55: warning: exported method Mapper.ForEach should have comment or be unexported (golint)
    • Line 65: warning: exported var DefaultMapping should have comment or be unexported (golint)
    • pkg/postfix/logparser/rawparser/payload_types.go
    • Line 7: warning: exported type PayloadType should have comment or be unexported (golint)
    • Line 10: warning: exported const PayloadTypeUnsupported should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: comment on exported const PayloadTypeSmtpMessageStatusSentQueued should be of the form "PayloadTypeSmtpMessageStatusSentQueued ..." (golint)
    • messagerbl/rbl.go
    • Line 25: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 45: warning: exported method Publisher.Publish should have comment or be unexported (golint)
    • Line 54: warning: exported type Result should have comment or be unexported (golint)
    • Line 62: warning: exported type Detector should have comment or be unexported (golint)
    • Line 79: warning: exported function New should have comment or be unexported (golint)
    • Line 145: warning: exported method Detector.NewPublisher should have comment or be unexported (golint)
    • Line 176: warning: exported const ResultsCapacity should have comment or be unexported (golint)
    • Line 178: warning: exported type Results should have comment or be unexported (golint)
    • Line 183: warning: exported type Stepper should have comment or be unexported (golint)
    • Line 188: warning: exported method Detector.Step should have comment or be unexported (golint)
    • pkg/postfix/logparser/errors.go
    • Line 14: warning: exported var ErrInvalidHeaderLine should have comment or be unexported (golint)
    • Line 18: warning: exported function IsRecoverableError should have comment or be unexported (golint)
    • localrbl/localrbl.go
    • Line 14: warning: exported type Options should have comment or be unexported (golint)
    • Line 20: warning: exported type ContentElement should have comment or be unexported (golint)
    • Line 25: warning: exported type Results should have comment or be unexported (golint)
    • Line 31: warning: exported type Checker should have comment or be unexported (golint)
    • httpmiddleware/request_with_interval.go
    • Line 18: warning: exported type Interval should have comment or be unexported (golint)
    • Line 20: warning: exported function GetIntervalFromContext should have comment or be unexported (golint)
    • Line 38: warning: exported function RequestWithInterval should have comment or be unexported (golint)
    • api/rawlogs.go
    • Line 139: warning: exported function HttpRawLogs should have comment or be unexported (golint)
    • server/server.go
    • Line 27: warning: exported type HttpServer should have comment or be unexported (golint)
    • Line 36: warning: exported method HttpServer.Start should have comment or be unexported (golint)
    • pkg/ctxlogger/ctxlog.go
    • Line 13: warning: exported const LoggerKey should have comment or be unexported (golint)
    • Line 15: warning: exported function GetCtxLogger should have comment or be unexported (golint)
    • Line 19: warning: exported function LogErrorf should have comment or be unexported (golint)
    • pkg/postfix/logparser/timeutil/timeformat.go
    • Line 14: warning: exported var ErrInvalidTimeFormat should have comment or be unexported (golint)
    • Line 51: warning: exported type RawTime should have comment or be unexported (golint)
    • Line 63: warning: exported type Time should have comment or be unexported (golint)
    • Line 72: warning: comment on exported method Time.Unix should be of the form "Unix ..." (golint)
    • Line 79: warning: exported method Time.Time should have comment or be unexported (golint)
    • Line 83: warning: exported type TimeFormat should have comment or be unexported (golint)
    • Line 90: warning: exported var Formats should have comment or be unexported (golint)
    • Line 92: warning: exported function Register should have comment or be unexported (golint)
    • Line 96: warning: exported var ErrInvalidFormat should have comment or be unexported (golint)
    • Line 98: warning: exported function Get should have comment or be unexported (golint)
    • Line 106: warning: exported type DefaultTimeFormat should have comment or be unexported (golint)
    • Line 112: warning: exported method DefaultTimeFormat.ExtractRaw should have comment or be unexported (golint)
    • Line 141: warning: exported method DefaultTimeFormat.ConvertWithYear should have comment or be unexported (golint)
    • Line 145: warning: exported method DefaultTimeFormat.ConvertWithConverter should have comment or be unexported (golint)
    • Line 149: warning: exported method DefaultTimeFormat.Convert should have comment or be unexported (golint)
    • Line 184: warning: exported type RFC3339TimeFormat should have comment or be unexported (golint)
    • Line 190: warning: exported method RFC3339TimeFormat.ExtractRaw should have comment or be unexported (golint)
    • Line 218: warning: exported method RFC3339TimeFormat.ConvertWithYear should have comment or be unexported (golint)
    • Line 222: warning: exported method RFC3339TimeFormat.ConvertWithConverter should have comment or be unexported (golint)
    • Line 226: warning: exported method RFC3339TimeFormat.Convert should have comment or be unexported (golint)
    • pkg/postfix/logparser/smtpd.go
    • Line 19: warning: exported type SmtpdConnect should have comment or be unexported (golint)
    • Line 42: warning: exported type SmtpdDisconnect should have comment or be unexported (golint)
    • Line 48: warning: exported type SmtpdDisconnectStat should have comment or be unexported (golint)
    • Line 69: warning: exported type SmtpdMailAccepted should have comment or be unexported (golint)
    • Line 94: warning: exported type SmtpdReject should have comment or be unexported (golint)
    • version/build_info.go
    • Line 10: warning: exported var Version should have comment or be unexported (golint)
    • Line 15: warning: exported function PrintVersion should have comment or be unexported (golint)
    • deliverydb/queue.go
    • Line 74: warning: exported type QueueParentingType should have comment or be unexported (golint)
    • Line 77: warning: comment on exported const QueueParentingTypeReturnedToSender should be of the form "QueueParentingTypeReturnedToSender ..." (golint)
    • util/timeutil/time.go
    • Line 14: warning: exported var ErrOutOfOrderTimeInterval should have comment or be unexported (golint)
    • Line 17: warning: exported type TimeInterval should have comment or be unexported (golint)
    • Line 22: warning: exported method TimeInterval.IsZero should have comment or be unexported (golint)
    • Line 53: warning: exported var ErrInvalidTime should have comment or be unexported (golint)
    • Line 55: warning: exported function ParseTimeInterval should have comment or be unexported (golint)
    • i18n/translator/default.go
    • Line 18: warning: comment on exported function I18n should be of the form "I18n ..." (golint)
    • Line 23: warning: exported type TranslatableStringer should have comment or be unexported (golint)
    • Line 28: warning: comment on exported function TransformTranslation should be of the form "TransformTranslation ..." (golint)
    • Line 37: warning: exported function Stringfy should have comment or be unexported (golint)
    • Line 41: warning: exported type Translator should have comment or be unexported (golint)
    • Line 46: warning: exported type Translators should have comment or be unexported (golint)
    • Line 63: warning: exported function New should have comment or be unexported (golint)
    • Line 85: warning: exported function Translate should have comment or be unexported (golint)
    • Line 104: warning: exported type DummyTranslator should have comment or be unexported (golint)
    • Line 106: warning: exported method DummyTranslator.Translate should have comment or be unexported (golint)
    • Line 110: warning: exported method DummyTranslator.PrettyFormatTime should have comment or be unexported (golint)
    • insights/localrbl/rbl.go
    • Line 23: warning: exported type Options should have comment or be unexported (golint)
    • Line 30: warning: exported type Content should have comment or be unexported (golint)
    • Line 36: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 40: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 44: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 80: warning: exported method Content.HelpLink should have comment or be unexported (golint)
    • Line 85: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 114: warning: exported function NewDetector should have comment or be unexported (golint)
    • pkg/postfix/checksum.go
    • Line 15: warning: comment on exported type Hasher should be of the form "Hasher ..." (with optional leading article) (golint)
    • Line 25: warning: exported function NewHasher should have comment or be unexported (golint)
    • Line 29: warning: exported function ComputeChecksum should have comment or be unexported (golint)
    • pkg/postfix/publisher.go
    • Line 12: warning: exported type RecordLocation should have comment or be unexported (golint)
    • Line 17: warning: exported type Record should have comment or be unexported (golint)
    • Line 26: warning: exported type SumPair should have comment or be unexported (golint)
    • Line 31: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 35: warning: exported type ComposedPublisher should have comment or be unexported (golint)
    • Line 37: warning: exported method ComposedPublisher.Publish should have comment or be unexported (golint)
    • logeater/dirwatcher/dir_importer.go
    • Line 347: warning: exported var ErrEmptyFileList should have comment or be unexported (golint)
    • Line 372: warning: exported function FindInitialLogTime should have comment or be unexported (golint)
    • Line 421: warning: exported type DirectoryContent should have comment or be unexported (golint)
    • Line 430: warning: exported type DirectoryImporter should have comment or be unexported (golint)
    • Line 439: warning: exported function NewDirectoryImporter should have comment or be unexported (golint)
    • Line 450: warning: exported var ErrLogFilesNotFound should have comment or be unexported (golint)
    • Line 481: warning: exported type LogPatterns should have comment or be unexported (golint)
    • Line 486: warning: exported function BuildLogPatterns should have comment or be unexported (golint)
    • Line 496: warning: exported var DefaultLogPatterns should have comment or be unexported (golint)
    • Line 1291: warning: exported method DirectoryImporter.Run should have comment or be unexported (golint)
    • Line 1295: warning: exported method DirectoryImporter.ImportOnly should have comment or be unexported (golint)
    • rawlogsdb/accessor.go
    • Line 20: warning: exported type ContentRow should have comment or be unexported (golint)
    • Line 25: warning: exported type Content should have comment or be unexported (golint)
    • Line 30: warning: exported type Accessor should have comment or be unexported (golint)
    • Line 40: warning: exported function NewAccessor should have comment or be unexported (golint)
    • Line 56: warning: exported function FetchLogsInIntervalToWriter should have comment or be unexported (golint)
    • Line 98: warning: exported function CountLogLinesInInterval should have comment or be unexported (golint)
    • Line 117: warning: exported function FetchLogsInInterval should have comment or be unexported (golint)
    • Line 158: warning: exported function MostRecentLogTimeAndSum should have comment or be unexported (golint)
    • deliverydb/delivery.go
    • Line 10: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 23: warning: exported type DB should have comment or be unexported (golint)
    • Line 166: warning: exported function New should have comment or be unexported (golint)
    • Line 427: warning: exported method DB.ResultsPublisher should have comment or be unexported (golint)
    • Line 431: warning: exported method DB.HasLogs should have comment or be unexported (golint)
    • Line 443: warning: exported method DB.MostRecentLogTime should have comment or be unexported (golint)
    • pkg/postfix/logparser/rawparser/smtpd.go
    • Line 21: warning: exported type SmtpdConnect should have comment or be unexported (golint)
    • Line 26: warning: exported type SmtpdDisconnectStat should have comment or be unexported (golint)
    • Line 31: warning: exported type SmtpdDisconnect should have comment or be unexported (golint)
    • Line 37: warning: exported type SmtpdMailAccepted should have comment or be unexported (golint)
    • Line 75: warning: exported type SmtpdReject should have comment or be unexported (golint)
    • logeater/socketsource/source.go
    • Line 22: warning: exported type Source should have comment or be unexported (golint)
    • Line 31: warning: exported function New should have comment or be unexported (golint)
    • Line 64: warning: exported method Source.Close should have comment or be unexported (golint)
    • Line 82: warning: exported method Source.PublishLogs should have comment or be unexported (golint)
    • intel/blockedips/blockedips.go
    • Line 12: warning: exported type Checker should have comment or be unexported (golint)
    • Line 16: warning: exported type BlockedIP should have comment or be unexported (golint)
    • Line 21: warning: exported type SummaryResult should have comment or be unexported (golint)
    • insights/core/core.go
    • Line 15: warning: exported type Clock should have comment or be unexported (golint)
    • Line 17: warning: exported type Detector should have comment or be unexported (golint)
    • Line 22: warning: exported type HistoricalDetector should have comment or be unexported (golint)
    • Line 27: warning: exported type Core should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported type Content should have comment or be unexported (golint)
    • Line 50: warning: exported type URLContainer should have comment or be unexported (golint)
    • Line 54: warning: exported type RecommendationHelpLinkProvider should have comment or be unexported (golint)
    • pkg/postfix/logparser/dovecot.go
    • Line 17: warning: exported type DovecotAuthFailed should have comment or be unexported (golint)
    • Line 25: warning: exported type DovecotAuthFailedReason should have comment or be unexported (golint)
    • Line 38: warning: comment on exported const UnsupportedDovecotAuthFailedReason should be of the form "UnsupportedDovecotAuthFailedReason ..." (golint)
    • Line 41: warning: exported const DovecotAuthFailedReasonPasswordMismatch should have comment (or a comment on this block) or be unexported (golint)
    • util/timeutil/clock.go
    • Line 12: warning: exported type Clock should have comment or be unexported (golint)
    • Line 17: warning: exported type RealClock should have comment or be unexported (golint)
    • Line 19: warning: exported method RealClock.Now should have comment or be unexported (golint)
    • Line 23: warning: exported method RealClock.Sleep should have comment or be unexported (golint)
    • Line 27: warning: exported type FakeClock should have comment or be unexported (golint)
    • Line 33: warning: exported method FakeClock.Now should have comment or be unexported (golint)
    • Line 40: warning: exported method FakeClock.Sleep should have comment or be unexported (golint)
    • lmsqlite3/dbconn/utils.go
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 16: warning: exported type RoConn should have comment or be unexported (golint)
    • Line 20: warning: exported type RwConn should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method RwConn.Tx should be of the form "Tx ..." (golint)
    • Line 47: warning: exported type RoPooledConn should have comment or be unexported (golint)
    • Line 55: warning: exported method RoPooledConn.PrepareStmt should have comment or be unexported (golint)
    • Line 81: warning: exported type RoPool should have comment or be unexported (golint)
    • Line 88: warning: exported method RoPool.ForEach should have comment or be unexported (golint)
    • Line 98: warning: exported method RoPool.Acquire should have comment or be unexported (golint)
    • Line 103: warning: exported method RoPool.AcquireContext should have comment or be unexported (golint)
    • Line 112: warning: exported type PooledPair should have comment or be unexported (golint)
    • Line 120: warning: exported function Open should have comment or be unexported (golint)
    • logeater/dirlogsource/source.go
    • Line 16: warning: exported type Source should have comment or be unexported (golint)
    • Line 27: warning: exported function New should have comment or be unexported (golint)
    • Line 69: warning: exported method Source.PublishLogs should have comment or be unexported (golint)
    • metadata/metadata.go
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 19: warning: exported const UuidMetaKey should have comment or be unexported (golint)
    • Line 22: warning: exported var ErrNoSuchKey should have comment or be unexported (golint)
    • Line 25: warning: exported type Key should have comment or be unexported (golint)
    • Line 26: warning: exported type Value should have comment or be unexported (golint)
    • Line 28: warning: exported type Reader should have comment or be unexported (golint)
    • Line 37: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 41: warning: exported type Writer should have comment or be unexported (golint)
    • Line 45: warning: exported type Handler should have comment or be unexported (golint)
    • Line 50: warning: exported function NewHandler should have comment or be unexported (golint)
    • Line 60: warning: exported type Item should have comment or be unexported (golint)
    • Line 65: warning: exported method Writer.Store should have comment or be unexported (golint)
    • Line 75: warning: exported function Store should have comment or be unexported (golint)
    • Line 88: warning: exported function Retrieve should have comment or be unexported (golint)
    • Line 131: warning: exported method Writer.StoreJson should have comment or be unexported (golint)
    • Line 186: warning: exported type DefaultValues should have comment or be unexported (golint)
    • Line 277: warning: exported function NewDefaultedHandler should have comment or be unexported (golint)
    • tools/poutil/poutil.go
    • Line 18: warning: comment on exported function Data should be of the form "Data ..." (golint)
    • Line 47: warning: comment on exported function SaveDifference should be of the form "SaveDifference ..." (golint)
    • tracking/result.go
    • Line 14: warning: exported type ResultEntryType should have comment or be unexported (golint)
    • Line 17: warning: exported const ResultEntryTypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: comment on exported type ResultEntry should be of the form "ResultEntry ..." (with optional leading article) (golint)
    • Line 33: warning: exported method ResultEntry.ValueOrNil should have comment or be unexported (golint)
    • Line 50: warning: exported method ResultEntry.Value should have comment or be unexported (golint)
    • Line 60: warning: exported method ResultEntry.IsNone should have comment or be unexported (golint)
    • Line 64: warning: exported method ResultEntry.Int64 should have comment or be unexported (golint)
    • Line 72: warning: exported method ResultEntry.Float64 should have comment or be unexported (golint)
    • Line 80: warning: exported method ResultEntry.Blob should have comment or be unexported (golint)
    • Line 88: warning: exported method ResultEntry.Text should have comment or be unexported (golint)
    • Line 96: warning: exported function ResultEntryText should have comment or be unexported (golint)
    • Line 100: warning: exported function ResultEntryBlob should have comment or be unexported (golint)
    • Line 104: warning: exported function ResultEntryInt64 should have comment or be unexported (golint)
    • Line 108: warning: exported function ResultEntryFloat64 should have comment or be unexported (golint)
    • Line 112: warning: exported function ResultEntryNone should have comment or be unexported (golint)
    • Line 116: warning: exported function ResultEntryFromValue should have comment or be unexported (golint)
    • Line 165: warning: exported method ResultEntry.MarshalJSON should have comment or be unexported (golint)
    • Line 169: warning: exported var LabelsToKeys should have comment or be unexported (golint)
    • Line 177: warning: exported method Result.UnmarshalJSON should have comment or be unexported (golint)
    • Line 218: warning: exported method ResultEntry.MarshalZerologObject should have comment or be unexported (golint)
    • Line 235: warning: exported type Result should have comment or be unexported (golint)
    • Line 237: warning: exported method Result.MarshalJSON should have comment or be unexported (golint)
    • Line 250: warning: exported method Result.MarshalZerologObject should have comment or be unexported (golint)
    • Line 259: warning: exported type ResultPublisher should have comment or be unexported (golint)
    • Line 263: warning: comment on exported type MappedResult should be of the form "MappedResult ..." (with optional leading article) (golint)
    • Line 266: warning: exported method MappedResult.Result should have comment or be unexported (golint)
    • i18n/wrapper.go
    • Line 18: warning: exported function NewService should have comment or be unexported (golint)
    • Line 24: warning: exported type Service should have comment or be unexported (golint)
    • Line 28: warning: exported type LanguagePair should have comment or be unexported (golint)
    • Line 40: warning: exported function GetLanguages should have comment or be unexported (golint)
    • Line 44: warning: exported method Service.LanguageMetaDataHandler should have comment or be unexported (golint)
    • insights/notification_policies.go
    • Line 13: warning: exported type DefaultNotificationPolicy should have comment or be unexported (golint)
    • Line 16: warning: exported method DefaultNotificationPolicy.Reject should have comment or be unexported (golint)
    • insights/messagerbl/rbl.go
    • Line 23: warning: exported type Options should have comment or be unexported (golint)
    • Line 29: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type Content should have comment or be unexported (golint)
    • Line 46: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 50: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 54: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 90: warning: exported method Content.HelpLink should have comment or be unexported (golint)
    • Line 103: warning: exported function NewDetector should have comment or be unexported (golint)
    • logeater/filelogsource/source.go
    • Line 18: warning: exported type Source should have comment or be unexported (golint)
    • Line 25: warning: exported function New should have comment or be unexported (golint)
    • Line 38: warning: exported method Source.PublishLogs should have comment or be unexported (golint)
    • notification/notifications.go
    • Line 19: warning: exported type Notification should have comment or be unexported (golint)
    • Line 20: warning: exported type Notifier should have comment or be unexported (golint)
    • Line 21: warning: exported type Policy should have comment or be unexported (golint)
    • Line 22: warning: exported type Policies should have comment or be unexported (golint)
    • Line 25: warning: exported var PassPolicy should have comment or be unexported (golint)
    • Line 27: warning: exported function NewWithCustomLanguageFetcher should have comment or be unexported (golint)
    • Line 36: warning: exported type Settings should have comment or be unexported (golint)
    • Line 40: warning: exported const SettingKey should have comment or be unexported (golint)
    • Line 42: warning: exported function SetSettings should have comment or be unexported (golint)
    • Line 50: warning: exported function GetSettings should have comment or be unexported (golint)
    • Line 61: warning: exported function New should have comment or be unexported (golint)
    • Line 83: warning: exported type Center should have comment or be unexported (golint)
    • Line 90: warning: exported var ErrInvalidNotifier should have comment or be unexported (golint)
    • Line 92: warning: exported method Center.Notifier should have comment or be unexported (golint)
    • Line 102: warning: exported method Center.Notify should have comment or be unexported (golint)
    • httpsettings/settings.go
    • Line 33: warning: exported type Settings should have comment or be unexported (golint)
    • Line 42: warning: exported function NewSettings should have comment or be unexported (golint)
    • Line 85: warning: exported method Settings.HttpSetup should have comment or be unexported (golint)
    • Line 91: warning: exported method Settings.SettingsForward should have comment or be unexported (golint)
    • Line 113: warning: exported method Settings.SettingsHandler should have comment or be unexported (golint)
    • Line 195: warning: exported method Settings.GeneralSettingsHandler should have comment or be unexported (golint)
    • Line 274: warning: exported method Settings.InitialSetupHandler should have comment or be unexported (golint)
    • Line 488: warning: exported method Settings.NotificationSettingsHandler should have comment or be unexported (golint)
    • Line 553: warning: exported method Settings.NotificationSettingsClear should have comment or be unexported (golint)
    • Line 573: warning: exported method Settings.WalkthroughHandler should have comment or be unexported (golint)
    • Line 592: warning: exported method Settings.DetectiveHandler should have comment or be unexported (golint)
    • pkg/postfix/logparser/rawparser/qmgr.go
    • Line 11: warning: exported type QmgrMessageExpired should have comment or be unexported (golint)
    • Line 18: warning: exported type QmgrMailQueued should have comment or be unexported (golint)
    • Line 26: warning: exported type QmgrRemoved should have comment or be unexported (golint)
    • intel/connectionstats/reporter.go
    • Line 34: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 38: warning: comment on exported function NewReporter should be of the form "NewReporter ..." (golint)
    • Line 45: warning: exported method Reporter.ExecutionInterval should have comment or be unexported (golint)
    • Line 49: warning: exported method Reporter.Close should have comment or be unexported (golint)
    • Line 53: warning: exported method Reporter.Step should have comment or be unexported (golint)
    • Line 174: warning: exported method Reporter.ID should have comment or be unexported (golint)
    • insights/core/helpers.go
    • Line 19: warning: exported const HistoricalImportKey should have comment or be unexported (golint)
    • Line 21: warning: exported function DisableHistoricalImportFlag should have comment or be unexported (golint)
    • Line 29: warning: exported function EnableHistoricalImportFlag should have comment or be unexported (golint)
    • Line 37: warning: exported function IsHistoricalImportRunning should have comment or be unexported (golint)
    • Line 53: warning: exported function IsHistoricalImportRunningFromPool should have comment or be unexported (golint)
    • Line 68: warning: exported function ArchiveInsight should have comment or be unexported (golint)
    • Line 86: warning: exported function ArchiveInsightIfHistoricalImportIsRunning should have comment or be unexported (golint)
    • Line 103: warning: exported function StoreLastDetectorExecution should have comment or be unexported (golint)
    • Line 126: warning: exported function RetrieveLastDetectorExecution should have comment or be unexported (golint)
    • Line 142: warning: exported var ErrWrongRatingValue should have comment or be unexported (golint)
    • Line 146: warning: exported function CanRateInsight should have comment or be unexported (golint)
    • Line 187: warning: exported function RateInsight should have comment or be unexported (golint)
    • Line 195: warning: exported const TwoWeeks should have comment or be unexported (golint)
    • settings/globalsettings/globalsettings.go
    • Line 16: warning: exported const SettingKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type IP should have comment or be unexported (golint)
    • Line 23: warning: exported method IP.MergoFromString should have comment or be unexported (golint)
    • Line 28: warning: exported type Settings should have comment or be unexported (golint)
    • Line 34: warning: exported type IPAddressGetter should have comment or be unexported (golint)
    • Line 38: warning: exported type MetaReaderGetter should have comment or be unexported (golint)
    • Line 42: warning: exported function New should have comment or be unexported (golint)
    • Line 46: warning: exported method MetaReaderGetter.IPAddress should have comment or be unexported (golint)
    • Line 60: warning: exported function SetSettings should have comment or be unexported (golint)
    • Line 68: warning: exported function GetSettings should have comment or be unexported (golint)
    • pkg/postfix/logparser/smtp.go
    • Line 18: warning: exported type Delays should have comment or be unexported (golint)
    • Line 25: warning: exported type SmtpStatus should have comment or be unexported (golint)
    • Line 42: warning: exported const SentStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type SmtpSentStatus should have comment or be unexported (golint)
    • Line 71: warning: exported type SmtpSentStatusExtraMessageSentQueued should have comment or be unexported (golint)
    • Line 83: warning: exported var ErrInvalidStatus should have comment or be unexported (golint)
    • Line 85: warning: exported function ParseStatus should have comment or be unexported (golint)
    • workspace/workspace.go
    • Line 46: warning: exported type Workspace should have comment or be unexported (golint)
    • Line 107: warning: exported type Options should have comment or be unexported (golint)
    • Line 113: warning: exported var DefaultOptions should have comment or be unexported (golint)
    • Line 119: warning: exported function NewWorkspace should have comment or be unexported (golint)
    • Line 337: warning: exported method Workspace.SettingsAcessors should have comment or be unexported (golint)
    • Line 341: warning: exported method Workspace.InsightsEngine should have comment or be unexported (golint)
    • Line 345: warning: exported method Workspace.InsightsFetcher should have comment or be unexported (golint)
    • Line 349: warning: exported method Workspace.InsightsProgressFetcher should have comment or be unexported (golint)
    • Line 353: warning: exported method Workspace.Dashboard should have comment or be unexported (golint)
    • Line 357: warning: exported method Workspace.ConnectionStatsAccessor should have comment or be unexported (golint)
    • Line 361: warning: exported method Workspace.IntelAccessor should have comment or be unexported (golint)
    • Line 365: warning: exported method Workspace.Detective should have comment or be unexported (golint)
    • Line 369: warning: exported method Workspace.DetectiveEscalationRequester should have comment or be unexported (golint)
    • Line 373: warning: exported method Workspace.ImportAnnouncer should have comment or be unexported (golint)
    • Line 388: warning: exported method Workspace.Auth should have comment or be unexported (golint)
    • Line 392: warning: exported method Workspace.MostRecentLogTimeAndSum should have comment or be unexported (golint)
    • Line 434: warning: exported method Workspace.NewPublisher should have comment or be unexported (golint)
    • Line 445: warning: exported method Workspace.HasLogs should have comment or be unexported (golint)
    • Line 449: warning: exported method Workspace.RawLogsAccessor should have comment or be unexported (golint)
    • intel/mailactivity/reporter.go
    • Line 27: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 31: warning: comment on exported function NewReporter should be of the form "NewReporter ..." (golint)
    • Line 38: warning: exported method Reporter.ExecutionInterval should have comment or be unexported (golint)
    • Line 56: warning: exported method Reporter.Close should have comment or be unexported (golint)
    • Line 60: warning: exported method Reporter.Step should have comment or be unexported (golint)
    • Line 123: warning: exported method Reporter.ID should have comment or be unexported (golint)
    • po/po.go
    • Line 15: warning: exported var FallbackLanguage should have comment or be unexported (golint)
    • Line 17: warning: comment on exported var DefaultCatalog should be of the form "DefaultCatalog ..." (golint)
    • Line 22: warning: exported const German should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported function IsLanguageSupported should have comment or be unexported (golint)
    • settings/detective/detective.go
    • Line 13: warning: exported type Settings should have comment or be unexported (golint)
    • Line 17: warning: exported const SettingKey should have comment or be unexported (golint)
    • Line 19: warning: exported function SetSettings should have comment or be unexported (golint)
    • Line 27: warning: exported function GetSettings should have comment or be unexported (golint)
    • logeater/transform/transform.go
    • Line 30: warning: exported function Register should have comment or be unexported (golint)
    • Line 34: warning: exported var ErrUnknownTransformer should have comment or be unexported (golint)
    • Line 36: warning: exported type Builder should have comment or be unexported (golint)
    • Line 38: warning: exported function Get should have comment or be unexported (golint)
    • Line 59: warning: exported function ParseLine should have comment or be unexported (golint)
    • Line 77: warning: exported function ForwardArgs should have comment or be unexported (golint)
    • httpauth/auth/auth.go
    • Line 30: warning: exported type CookieStoreRegistrar should have comment or be unexported (golint)
    • Line 35: warning: exported const SessionDuration should have comment or be unexported (golint)
    • Line 37: warning: exported method CookieStoreRegistrar.CookieStore should have comment or be unexported (golint)
    • Line 48: warning: exported function NewAuthenticator should have comment or be unexported (golint)
    • Line 57: warning: exported type SessionData should have comment or be unexported (golint)
    • Line 63: warning: exported method SessionData.IsAuthenticated should have comment or be unexported (golint)
    • Line 71: warning: exported type Authenticator should have comment or be unexported (golint)
    • Line 76: warning: exported type RegistrarCookieStore should have comment or be unexported (golint)
    • Line 81: warning: exported function NewAuthenticatorWithOptions should have comment or be unexported (golint)
    • Line 87: warning: exported const SessionName should have comment or be unexported (golint)
    • Line 110: warning: exported function HandleLogin should have comment or be unexported (golint)
    • Line 190: warning: exported function HandleRegistration should have comment or be unexported (golint)
    • Line 222: warning: exported function HandleLogout should have comment or be unexported (golint)
    • Line 239: warning: comment on exported function IsNotLoginOrNotRegistered should be of the form "IsNotLoginOrNotRegistered ..." (golint)
    • Line 265: warning: comment on exported function IsNotLoginAndNotEndUsersEnabled should be of the form "IsNotLoginAndNotEndUsersEnabled ..." (golint)
    • Line 294: warning: exported var ErrUnauthenticated should have comment or be unexported (golint)
    • Line 296: warning: exported function GetSessionData should have comment or be unexported (golint)
    • Line 310: warning: exported type UserSystemData should have comment or be unexported (golint)
    • Line 317: warning: exported function HandleGetUserSystemData should have comment or be unexported (golint)
    • pkg/runner/cancellable_runner.go
    • Line 12: warning: exported type CancelChan should have comment or be unexported (golint)
    • Line 13: warning: exported type DoneChan should have comment or be unexported (golint)
    • Line 15: warning: exported type CancellableRunner should have comment or be unexported (golint)
    • Line 19: warning: exported function NewCancellableRunner should have comment or be unexported (golint)
    • Line 75: warning: exported type CombinedCancellableRunners should have comment or be unexported (golint)
    • Line 80: warning: exported function NewCombinedCancellableRunners should have comment or be unexported (golint)
    • settings/walkthrough/walkthrough.go
    • Line 13: warning: exported type Settings should have comment or be unexported (golint)
    • Line 17: warning: exported const SettingKey should have comment or be unexported (golint)
    • Line 19: warning: exported function SetSettings should have comment or be unexported (golint)
    • Line 27: warning: exported function GetSettings should have comment or be unexported (golint)
    • pkg/postfix/logparser/parser.go
    • Line 14: warning: exported type Payload should have comment or be unexported (golint)
    • Line 40: warning: exported function ParseHeaderWithCustomTimeFormat should have comment or be unexported (golint)
    • Line 56: warning: exported function ParseHeader should have comment or be unexported (golint)
    • Line 60: warning: exported function ParsePayload should have comment or be unexported (golint)
    • Line 79: warning: exported function ParseWithCustomTimeFormat should have comment or be unexported (golint)
    • Line 93: warning: exported function Parse should have comment or be unexported (golint)
    • api/detective.go
    • Line 71: warning: exported type Interval should have comment or be unexported (golint)
    • Line 108: warning: exported type OldestAvailableTimeResponse should have comment or be unexported (golint)
    • Line 131: warning: exported function HttpDetective should have comment or be unexported (golint)
    • logeater/announcer/announcer.go
    • Line 12: warning: exported type Progress should have comment or be unexported (golint)
    • Line 18: warning: exported type ImportAnnouncer should have comment or be unexported (golint)
    • Line 23: warning: exported type Notifier should have comment or be unexported (golint)
    • Line 29: warning: exported function NewNotifier should have comment or be unexported (golint)
    • Line 37: warning: exported method Notifier.Start should have comment or be unexported (golint)
    • Line 41: warning: exported method Notifier.End should have comment or be unexported (golint)
    • Line 57: warning: exported method Notifier.Step should have comment or be unexported (golint)
    • Line 97: warning: exported type DummyImportAnnouncer should have comment or be unexported (golint)
    • Line 103: warning: exported method DummyImportAnnouncer.AnnounceStart should have comment or be unexported (golint)
    • Line 111: warning: exported method DummyImportAnnouncer.AnnounceProgress should have comment or be unexported (golint)
    • Line 119: warning: exported method DummyImportAnnouncer.Progress should have comment or be unexported (golint)
    • Line 133: warning: comment on exported type EmptyImportAnnouncer should be of the form "EmptyImportAnnouncer ..." (with optional leading article) (golint)
    • Line 136: warning: exported method EmptyImportAnnouncer.AnnounceStart should have comment or be unexported (golint)
    • Line 140: warning: exported method EmptyImportAnnouncer.AnnounceProgress should have comment or be unexported (golint)
    • insights/importsummary/importsummary.go
    • Line 28: warning: exported function NewDetector should have comment or be unexported (golint)
    • Line 64: warning: exported type ImportedInsight should have comment or be unexported (golint)
    • Line 73: warning: exported type Content should have comment or be unexported (golint)
    • Line 78: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 82: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 86: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 145: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • insights/core/access.go
    • Line 24: warning: exported type Category should have comment or be unexported (golint)
    • Line 48: warning: exported method Category.Args should have comment or be unexported (golint)
    • Line 52: warning: exported method Category.TplString should have comment or be unexported (golint)
    • Line 57: warning: exported const NoCategory should have comment (or a comment on this block) or be unexported (golint)
    • Line 66: warning: exported method Category.MarshalJSON should have comment or be unexported (golint)
    • Line 70: warning: exported function BuildCategoryByName should have comment or be unexported (golint)
    • Line 89: warning: exported method Category.UnmarshalJSON should have comment or be unexported (golint)
    • Line 101: warning: exported function BuildFilterByName should have comment or be unexported (golint)
    • Line 110: warning: exported function BuildOrderByName should have comment or be unexported (golint)
    • Line 121: warning: exported type Rating should have comment or be unexported (golint)
    • Line 123: warning: exported method Rating.MarshalJSON should have comment or be unexported (golint)
    • Line 127: warning: exported var ErrInvalidRating should have comment or be unexported (golint)
    • Line 129: warning: exported method Rating.UnmarshalJSON should have comment or be unexported (golint)
    • Line 170: warning: exported method Rating.Args should have comment or be unexported (golint)
    • Line 174: warning: exported method Rating.TplString should have comment or be unexported (golint)
    • Line 192: warning: exported type FetchedInsight should have comment or be unexported (golint)
    • Line 203: warning: exported type FetchFilter should have comment or be unexported (golint)
    • Line 206: warning: exported const NoFetchFilter should have comment (or a comment on this block) or be unexported (golint)
    • Line 210: warning: exported type FetchOrder should have comment or be unexported (golint)
    • Line 213: warning: exported const OrderByCreationDesc should have comment (or a comment on this block) or be unexported (golint)
    • Line 217: warning: exported type FetchOptions should have comment or be unexported (golint)
    • Line 225: warning: exported type Fetcher should have comment or be unexported (golint)
    • Line 311: warning: exported function NewFetcher should have comment or be unexported (golint)
    • Line 498: warning: exported type DBCreator should have comment or be unexported (golint)
    • Line 502: warning: exported function NewCreator should have comment or be unexported (golint)
    • Line 506: warning: exported type InsightProperties should have comment or be unexported (golint)
    • Line 515: warning: exported method InsightProperties.Title should have comment or be unexported (golint)
    • Line 519: warning: exported method InsightProperties.Description should have comment or be unexported (golint)
    • Line 523: warning: exported method InsightProperties.Metadata should have comment or be unexported (golint)
    • Line 530: warning: exported type Creator should have comment or be unexported (golint)
    • Line 534: warning: exported function GenerateInsight should have comment or be unexported (golint)
    • httpmiddleware/chain.go
    • Line 19: warning: exported type CustomHTTPHandlerInterface should have comment or be unexported (golint)
    • Line 23: warning: exported type CustomHTTPHandler should have comment or be unexported (golint)
    • Line 29: warning: exported type Middleware should have comment or be unexported (golint)
    • Line 31: warning: exported type Chain should have comment or be unexported (golint)
    • Line 35: warning: exported function WithDefaultStackWithoutAuth should have comment or be unexported (golint)
    • Line 40: warning: exported function WithDefaultStack should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported method Chain.WithEndpoint should have comment or be unexported (golint)
    • Line 65: warning: exported type RequestID should have comment or be unexported (golint)
    • Line 67: warning: exported const RequestIDKey should have comment or be unexported (golint)
    • Line 68: warning: exported const LoggerKey should have comment or be unexported (golint)
    • Line 80: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 117: warning: comment on exported function LoggerWithHTTPContext should be of the form "LoggerWithHTTPContext ..." (golint)
    • notification/core/translate.go
    • Line 12: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 19: warning: exported function TranslateNotification should have comment or be unexported (golint)
    • tracking/actions.go
    • Line 19: warning: exported type MessageDirection should have comment or be unexported (golint)
    • Line 22: warning: comment on exported const MessageDirectionOutbound should be of the form "MessageDirectionOutbound ..." (golint)
    • Line 25: warning: exported const MessageDirectionIncoming should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported const UnsupportedActionType should have comment (or a comment on this block) or be unexported (golint)
    • util/emailutil/email.go
    • Line 18: warning: exported var ErrInvalidEmail should have comment or be unexported (golint)
    • Line 21: warning: exported function IsValidEmailAddress should have comment or be unexported (golint)
    • Line 25: warning: exported function Split should have comment or be unexported (golint)
    • Line 39: warning: exported function HasMX should have comment or be unexported (golint)
    • Line 51: warning: exported function IsDisposableEmailAddress should have comment or be unexported (golint)
    • dashboard/dashboard.go
    • Line 17: warning: exported type Pair should have comment or be unexported (golint)
    • Line 22: warning: exported type Pairs should have comment or be unexported (golint)
    • Line 24: warning: exported type Dashboard should have comment or be unexported (golint)
    • Line 39: warning: exported function New should have comment or be unexported (golint)
    • intel/insights/reporter.go
    • Line 22: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 26: warning: exported function NewReporter should have comment or be unexported (golint)
    • Line 32: warning: exported method Reporter.ExecutionInterval should have comment or be unexported (golint)
    • Line 36: warning: exported method Reporter.Close should have comment or be unexported (golint)
    • Line 40: warning: exported method Reporter.Step should have comment or be unexported (golint)
    • Line 81: warning: exported method Reporter.ID should have comment or be unexported (golint)
    • insights/blockedips/blockedips.go
    • Line 22: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type Options should have comment or be unexported (golint)
    • Line 31: warning: exported type Content should have comment or be unexported (golint)
    • Line 33: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 37: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 41: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 77: warning: exported method Content.HelpLink should have comment or be unexported (golint)
    • Line 102: warning: exported function NewDetector should have comment or be unexported (golint)
    • util/errorutil/util.go
    • Line 17: warning: exported function MustSucceed should have comment or be unexported (golint)
    • Line 48: warning: exported function Dief should have comment or be unexported (golint)
    • Line 54: warning: exported function LogErrorf should have comment or be unexported (golint)
    • Line 59: warning: exported function LogFatalf should have comment or be unexported (golint)
    • Line 64: warning: exported function ExpandError should have comment or be unexported (golint)
    • Line 73: warning: exported function UpdateErrorFromCall should have comment or be unexported (golint)
    • logeater/logsource/reader.go
    • Line 12: warning: exported type Reader should have comment or be unexported (golint)
    • Line 17: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 21: warning: exported method Reader.Run should have comment or be unexported (golint)
    • metadata/serialwriterunner.go
    • Line 22: warning: exported function NewSerialWriteRunner should have comment or be unexported (golint)
    • Line 62: warning: exported type AsyncWriteResult should have comment or be unexported (golint)
    • Line 66: warning: exported method AsyncWriteResult.Done should have comment or be unexported (golint)
    • Line 76: warning: exported method SerialWriteRunner.Writer should have comment or be unexported (golint)
    • Line 80: warning: exported method AsyncWriter.Store should have comment or be unexported (golint)
    • Line 88: warning: exported method AsyncWriter.StoreJson should have comment or be unexported (golint)
    • Line 96: warning: exported method AsyncWriter.StoreJsonSync should have comment or be unexported (golint)
    • settings/setup.go
    • Line 16: warning: exported type SetupMailKind should have comment or be unexported (golint)
    • Line 19: warning: exported const MailKindDirect should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported var ErrInvalidInintialSetupOption should have comment or be unexported (golint)
    • Line 30: warning: exported type InitialOptions should have comment or be unexported (golint)
    • Line 36: warning: exported type InitialSetupSettings should have comment or be unexported (golint)
    • Line 40: warning: exported function NewInitialSetupSettings should have comment or be unexported (golint)
    • Line 50: warning: exported method InitialSetupSettings.Set should have comment or be unexported (golint)
    • intel/logslinecount/reporter.go
    • Line 25: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 29: warning: exported function NewReporter should have comment or be unexported (golint)
    • Line 35: warning: exported method Reporter.ExecutionInterval should have comment or be unexported (golint)
    • Line 39: warning: exported method Reporter.Close should have comment or be unexported (golint)
    • Line 51: warning: exported method Reporter.Step should have comment or be unexported (golint)
    • Line 81: warning: exported method Reporter.ID should have comment or be unexported (golint)
    • auth/auth.go
    • Line 13: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 20: warning: exported type UserData should have comment or be unexported (golint)
    • Line 26: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 35: warning: exported type RegistrarWithSessionKeys should have comment or be unexported (golint)
    • Line 40: warning: exported type PlainAuthOptions should have comment or be unexported (golint)
    • Line 46: warning: exported type Options should have comment or be unexported (golint)
    • Line 51: warning: exported type Auth should have comment or be unexported (golint)
    • Line 58: warning: exported var ErrGeneralAuthenticationError should have comment or be unexported (golint)
    • Line 84: warning: exported method Auth.Register should have comment or be unexported (golint)
    • Line 157: warning: exported method Auth.Authenticate should have comment or be unexported (golint)
    • Line 182: warning: exported method Auth.HasAnyUser should have comment or be unexported (golint)
    • Line 200: warning: exported var ErrInvalidUserId should have comment or be unexported (golint)
    • Line 204: warning: exported method Auth.GetUserDataByID should have comment or be unexported (golint)
    • Line 241: warning: exported method Auth.SessionKeys should have comment or be unexported (golint)
    • Line 267: warning: exported function NewAuth should have comment or be unexported (golint)
    • Line 326: warning: exported method Auth.GetFirstUser should have comment or be unexported (golint)
    • Line 349: warning: exported method Auth.ChangeUserInfo should have comment or be unexported (golint)
    • intel/receptor/requester.go
    • Line 18: warning: exported type HTTPRequester should have comment or be unexported (golint)
    • Line 23: warning: exported method HTTPRequester.Request should have comment or be unexported (golint)
    • httpmiddleware/rate_limit.go
    • Line 25: warning: comment on exported type RestrictAction should be of the form "RestrictAction ..." (with optional leading article) (golint)
    • Line 28: warning: exported function BlockQuery should have comment or be unexported (golint)
    • Line 42: warning: exported function RequestWithRateLimit should have comment or be unexported (golint)
    • tracking/result_keys.go
    • Line 14: warning: exported const ConnectionBeginKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: exported var KeysToLabels should have comment or be unexported (golint)
    • intel/logslinecount/publisher.go
    • Line 23: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 36: warning: exported method Publisher.Publish should have comment or be unexported (golint)
    • Line 58: warning: exported function NewPublisher should have comment or be unexported (golint)
    • config/config.go
    • Line 22: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 53: warning: exported function Parse should have comment or be unexported (golint)
    • Line 57: warning: exported function ParseWithErrorHandling should have comment or be unexported (golint)
    • insights/mailinactivity/mail_inactivity_insight.go
    • Line 21: warning: exported type Content should have comment or be unexported (golint)
    • Line 25: warning: exported method Content.Title should have comment or be unexported (golint)
    • Line 29: warning: exported method Content.Description should have comment or be unexported (golint)
    • Line 33: warning: exported method Content.Metadata should have comment or be unexported (golint)
    • Line 67: warning: exported method Content.HelpLink should have comment or be unexported (golint)
    • Line 81: warning: exported const ContentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: exported type Options should have comment or be unexported (golint)
    • Line 128: warning: exported function NewDetector should have comment or be unexported (golint)
    • notification/email/email.go
    • Line 48: warning: exported const SettingKey should have comment or be unexported (golint)
    • Line 50: warning: exported type SecurityType should have comment or be unexported (golint)
    • Line 67: warning: exported method SecurityType.MarshalJSON should have comment or be unexported (golint)
    • Line 71: warning: exported var ErrParsingSecurityType should have comment or be unexported (golint)
    • Line 73: warning: exported function ParseSecurityType should have comment or be unexported (golint)
    • Line 86: warning: exported method SecurityType.MergoFromString should have comment or be unexported (golint)
    • Line 98: warning: exported const SecurityTypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: exported type AuthMethod should have comment or be unexported (golint)
    • Line 116: warning: exported method AuthMethod.MarshalJSON should have comment or be unexported (golint)
    • Line 120: warning: exported var ErrParsingAuthMethod should have comment or be unexported (golint)
    • Line 122: warning: exported function ParseAuthMethod should have comment or be unexported (golint)
    • Line 133: warning: exported method AuthMethod.MergoFromString should have comment or be unexported (golint)
    • Line 145: warning: exported const AuthMethodNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 149: warning: exported type ServerPort should have comment or be unexported (golint)
    • Line 151: warning: exported method ServerPort.MergoFromString should have comment or be unexported (golint)
    • Line 162: warning: exported type Settings should have comment or be unexported (golint)
    • Line 184: warning: exported type SettingsFetcher should have comment or be unexported (golint)
    • Line 186: warning: exported type Notifier should have comment or be unexported (golint)
    • Line 201: warning: exported function ValidateSettings should have comment or be unexported (golint)
    • Line 275: warning: exported function NewWithCustomSettingsFetcher should have comment or be unexported (golint)
    • Line 297: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 318: warning: exported var ErrInvalidEmail should have comment or be unexported (golint)
    • Line 447: warning: comment on exported method Notifier.Notify should be of the form "Notify ..." (golint)
    • Line 516: warning: exported method Notifier.ValidateSettings should have comment or be unexported (golint)
    • Line 530: warning: exported function SetSettings should have comment or be unexported (golint)
    • Line 538: warning: exported function GetSettings should have comment or be unexported (golint)
    • util/postfixutil/postfix.go
    • Line 18: warning: exported function ReadFromTestReader should have comment or be unexported (golint)
    • Line 37: warning: exported function ReadFromTestFile should have comment or be unexported (golint)
    • auth/validations.go
    • Line 16: warning: exported var ErrInvalidEmail should have comment or be unexported (golint)
    • Line 21: warning: comment on exported var ErrDisposableEmail should be of the form "ErrDisposableEmail ..." (golint)
    • Line 51: warning: exported type PasswordErrorDetailedDescription should have comment or be unexported (golint)
    • Line 53: warning: exported type PasswordValidationError should have comment or be unexported (golint)
    • intel/collector/access.go
    • Line 18: warning: exported type DispatchedReport should have comment or be unexported (golint)
    • Line 26: warning: exported type Accessor should have comment or be unexported (golint)
    • Line 35: warning: exported function NewAccessor should have comment or be unexported (golint)
    • Line 67: warning: exported method Accessor.GetDispatchedReports should have comment or be unexported (golint)
    • Line 118: warning: exported method Accessor.GetStatusMessage should have comment or be unexported (golint)
    • insights/highrate/high_status_rate_insight.go
    • Line 22: warning: exported const HighBaseBounceRateContentType should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported type Options should have comment or be unexported (golint)
    • Line 74: warning: exported function NewDetector should have comment or be unexported (golint)
    • Line 179: warning: exported type BounceRateContent should have comment or be unexported (golint)
    • Line 184: warning: exported method BounceRateContent.Title should have comment or be unexported (golint)
    • Line 188: warning: exported method BounceRateContent.Description should have comment or be unexported (golint)
    • Line 192: warning: exported method BounceRateContent.Metadata should have comment or be unexported (golint)
    • Line 226: warning: exported method BounceRateContent.HelpLink should have comment or be unexported (golint)
    • insights/default.go
    • Line 21: warning: exported function NoDetectors should have comment or be unexported (golint)
    • Line 38: warning: exported function NewEngine should have comment or be unexported (golint)
    • api/status_message.go
    • Line 21: warning: comment on exported type Event should be of the form "Event ..." (with optional leading article) (golint)
    • Line 46: warning: exported function HttpStatusMessage should have comment or be unexported (golint)
    • pkg/httperror/httperror.go
    • Line 7: warning: comment on exported type XHTTPError should be of the form "XHTTPError ..." (with optional leading article) (golint)
    • Line 16: warning: exported type HttpCodeError should have comment or be unexported (golint)
    • Line 31: warning: exported method HttpCodeError.ErrObject should have comment or be unexported (golint)
    • Line 40: warning: exported method HttpCodeError.JSON should have comment or be unexported (golint)
    • Line 44: warning: exported type HttpCodeJsonError should have comment or be unexported (golint)
    • Line 49: warning: comment on exported function NewHttpCodeJsonError should be of the form "NewHttpCodeJsonError ..." (golint)
    • Line 59: warning: exported method HttpCodeJsonError.ErrObject should have comment or be unexported (golint)
    • Line 68: warning: exported method HttpCodeJsonError.JSON should have comment or be unexported (golint)
    • postfixversion/postfixversion.go
    • Line 14: warning: exported const SettingKey should have comment or be unexported (golint)
    • Line 16: warning: exported type Publisher should have comment or be unexported (golint)
    • Line 20: warning: exported method Publisher.Publish should have comment or be unexported (golint)
    • Line 32: warning: exported function NewPublisher should have comment or be unexported (golint)
    • detective/escalator/escalator.go
    • Line 16: warning: exported type Request should have comment or be unexported (golint)
    • Line 23: warning: exported type Stepper should have comment or be unexported (golint)
    • Line 27: warning: exported type Creator should have comment or be unexported (golint)
    • Line 31: warning: exported type Requester should have comment or be unexported (golint)
    • Line 35: warning: exported type Escalator should have comment or be unexported (golint)
    • Line 57: warning: exported function TryToEscalateRequest should have comment or be unexported (golint)
    • Line 98: warning: exported function New should have comment or be unexported (golint)
    • api/reports.go
    • Line 36: warning: exported function HttpReports should have comment or be unexported (golint)
    • lmsqlite3/lmsqlite3.go
    • Line 65: warning: exported type Options should have comment or be unexported (golint)
    • Line 69: warning: exported function Initialize should have comment or be unexported (golint)
    • httpauth/auth/fake_registrar.go
    • Line 14: warning: exported type FakeRegistrar should have comment or be unexported (golint)
    • Line 26: warning: exported method FakeRegistrar.Register should have comment or be unexported (golint)
    • Line 39: warning: exported method FakeRegistrar.HasAnyUser should have comment or be unexported (golint)
    • Line 47: warning: exported method FakeRegistrar.GetUserDataByID should have comment or be unexported (golint)
    • Line 51: warning: exported method FakeRegistrar.Authenticate should have comment or be unexported (golint)
    • Line 63: warning: exported method FakeRegistrar.CookieStore should have comment or be unexported (golint)
    • Line 67: warning: exported method FakeRegistrar.SessionKeys should have comment or be unexported (golint)
    • Line 71: warning: exported method FakeRegistrar.GetFirstUser should have comment or be unexported (golint)
    • Line 75: warning: exported method FakeRegistrar.ChangeUserInfo should have comment or be unexported (golint)
    • insights/welcome/welcome.go
    • Line 25: warning: exported function NewDetector should have comment or be unexported (golint)
    • Line 106: warning: exported const WelcomeContentType should have comment (or a comment on this block) or be unexported (golint)
    • insights/core/converter.go
    • Line 17: warning: exported var ErrInvalidContentType should have comment or be unexported (golint)
    • Line 32: warning: exported function ContentTypeForValue should have comment or be unexported (golint)
    • Line 42: warning: exported function ValueForContentType should have comment or be unexported (golint)
    • Line 52: warning: exported function RegisterContentType should have comment or be unexported (golint)
    • Line 68: warning: exported function DefaultContentTypeDecoder should have comment or be unexported (golint)
    • notification/slack/slack.go
    • Line 23: warning: exported const SettingKey should have comment or be unexported (golint)
    • Line 25: warning: exported type MessagePoster should have comment or be unexported (golint)
    • Line 33: warning: exported type SettingsFetcher should have comment or be unexported (golint)
    • Line 35: warning: exported type Notifier should have comment or be unexported (golint)
    • Line 64: warning: exported function New should have comment or be unexported (golint)
    • Line 80: warning: exported function NewWithCustomSettingsFetcher should have comment or be unexported (golint)
    • Line 112: warning: exported method Notifier.SendTestNotification should have comment or be unexported (golint)
    • Line 151: warning: exported type Settings should have comment or be unexported (golint)
    • Line 157: warning: exported method Notifier.ValidateSettings should have comment or be unexported (golint)
    • Line 183: warning: comment on exported method Notifier.Notify should be of the form "Notify ..." (golint)
    • Line 206: warning: exported function SetSettings should have comment or be unexported (golint)
    • Line 214: warning: exported function GetSettings should have comment or be unexported (golint)
    • lmsqlite3/migrator/migrator.go
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 24: warning: exported function Run should have comment or be unexported (golint)
    • Line 44: warning: exported function RunDownTo should have comment or be unexported (golint)
    • httpmiddleware/auth.go
    • Line 19: warning: exported type SessionName should have comment or be unexported (golint)
    • Line 21: warning: exported const SessionKey should have comment or be unexported (golint)
    • Line 23: warning: exported function GetSession should have comment or be unexported (golint)
    • Line 27: warning: exported function RequestWithSession should have comment or be unexported (golint)
    • pkg/postfix/logparser/cleanup.go
    • Line 16: warning: exported type CleanupMessageAccepted should have comment or be unexported (golint)
    • Line 36: warning: exported type CleanupMilterReject should have comment or be unexported (golint)
    • tools/go2po/main.go
    • Line 101: warning: exported type VisitorFunc should have comment or be unexported (golint)
    • Line 103: warning: exported method VisitorFunc.Visit should have comment or be unexported (golint)
    • Line 107: warning: exported const FuncI18n should have comment or be unexported (golint)
    • Line 109: warning: comment on exported function FindLangaugeKeys should be of the form "FindLangaugeKeys ..." (golint)
    • Line 176: warning: exported function MustStoreID should have comment or be unexported (golint)
    • Line 184: warning: exported function StoreMsgID should have comment or be unexported (golint)
    • Line 212: warning: comment on exported function ParseAllDir should be of the form "ParseAllDir ..." (golint)
    • util/errorutil/errors.go
    • Line 15: warning: exported type Error should have comment or be unexported (golint)
    • Line 48: warning: comment on exported function TryToUnwrap should be of the form "TryToUnwrap ..." (golint)
    • Line 71: warning: comment on exported function ErrorAs should be of the form "ErrorAs ..." (golint)
    • Line 74: warning: error should be the last type when returning multiple items (golint)
    • Line 96: warning: exported type Chainable should have comment or be unexported (golint)
    • Line 100: warning: comment on exported function Chain should be of the form "Chain ..." (golint)
    • Line 105: warning: exported function BuildChain should have comment or be unexported (golint)
    • Line 114: warning: exported method Error.Chain should have comment or be unexported (golint)
    • Line 118: warning: comment on exported type ErrorChain should be of the form "ErrorChain ..." (with optional leading article) (golint)
    • Line 146: warning: exported type JsonErrorObject should have comment or be unexported (golint)
    • Line 152: warning: exported method ErrorChain.JSON should have comment or be unexported (golint)
    • intel/collector/collector.go
    • Line 9: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 27: warning: exported function Collect should have comment or be unexported (golint)
    • Line 44: warning: exported type Reporters should have comment or be unexported (golint)
    • Line 46: warning: exported method Reporters.Step should have comment or be unexported (golint)
    • Line 112: warning: exported type Collector should have comment or be unexported (golint)
    • Line 119: warning: exported function New should have comment or be unexported (golint)
    • Line 123: warning: comment on exported function NewWithCustomClock should be of the form "NewWithCustomClock ..." (golint)
    • intel/topdomains/reporter.go
    • Line 25: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 29: warning: exported function NewReporter should have comment or be unexported (golint)
    • Line 35: warning: exported method Reporter.ExecutionInterval should have comment or be unexported (golint)
    • Line 39: warning: exported method Reporter.Close should have comment or be unexported (golint)
    • Line 109: warning: exported method Reporter.Step should have comment or be unexported (golint)
    • Line 168: warning: exported method Reporter.ID should have comment or be unexported (golint)
    • localrbl/dnschecker.go
    • Line 20: warning: exported type DNSLookupFunction should have comment or be unexported (golint)
    • Line 23: warning: exported var RealLookup should have comment or be unexported (golint)
    • Line 53: warning: exported function NewChecker should have comment or be unexported (golint)
    • Line 92: warning: exported var ErrIPNotConfigured should have comment or be unexported (golint)
    • intel/receptor/receptor.go
    • Line 32: warning: exported type Options should have comment or be unexported (golint)
    • Line 38: warning: exported type Requester should have comment or be unexported (golint)
    • Line 42: warning: exported type Payload should have comment or be unexported (golint)
    • Line 48: warning: exported type Event should have comment or be unexported (golint)
    • Line 56: warning: exported type MessageNotification should have comment or be unexported (golint)
    • Line 63: warning: exported type ActionLink should have comment or be unexported (golint)
    • Line 68: warning: exported type BlockedIP should have comment or be unexported (golint)
    • Line 73: warning: exported type BlockedIPs should have comment or be unexported (golint)
    • Line 143: warning: exported function DrainEvents should have comment or be unexported (golint)
    • Line 155: warning: exported function New should have comment or be unexported (golint)
    • Line 275: warning: exported function DismissEventByID should have comment or be unexported (golint)
    • httpmiddleware/withtimeout.go
    • Line 19: warning: exported const DefaultTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported var ErrInvalidKeepAliveHeader should have comment or be unexported (golint)
    • Line 59: warning: exported function RequestWithTimeout should have comment or be unexported (golint)
    • pkg/postfix/logparser/qmgr.go
    • Line 18: warning: exported type QmgrMessageExpired should have comment or be unexported (golint)
    • Line 40: warning: exported type QmgrMailQueued should have comment or be unexported (golint)
    • Line 74: warning: exported type QmgrRemoved 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!