Preparing report...

Report for github.com/cortexproject/cortex

A+    Excellent!    Found 241 issues across 817 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo93%

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.

    • cortex/pkg/alertmanager/api.go
    • Line 312: warning: cyclomatic complexity 27 of function validateAlertmanagerConfig() is high (> 15) (gocyclo)
    • Line 176: warning: cyclomatic complexity 19 of function validateUserConfig() is high (> 15) (gocyclo)
    • cortex/pkg/chunk/encoding/varbit.go
    • Line 554: warning: cyclomatic complexity 24 of function (*varbitChunk).addLaterSample() is high (> 15) (gocyclo)
    • Line 981: warning: cyclomatic complexity 21 of function (*varbitChunkIterator).Scan() is high (> 15) (gocyclo)
    • cortex/pkg/ingester/wal.go
    • Line 248: warning: cyclomatic complexity 30 of function (*walWrapper).performCheckpoint() is high (> 15) (gocyclo)
    • Line 809: warning: cyclomatic complexity 28 of function processWAL() is high (> 15) (gocyclo)
    • cortex/pkg/configs/legacy_promql/engine.go
    • Line 1476: warning: cyclomatic complexity 53 of function (*evaluator).aggregation() is high (> 15) (gocyclo)
    • Line 758: warning: cyclomatic complexity 47 of function (*evaluator).eval() is high (> 15) (gocyclo)
    • Line 1187: warning: cyclomatic complexity 19 of function (*evaluator).VectorBinop() is high (> 15) (gocyclo)
    • Line 669: warning: cyclomatic complexity 18 of function (*evaluator).rangeEval() is high (> 15) (gocyclo)
    • cortex/pkg/configs/legacy_promql/parse.go
    • Line 995: warning: cyclomatic complexity 54 of function (*parser).checkType() is high (> 15) (gocyclo)
    • Line 171: warning: cyclomatic complexity 23 of function (*parser).parseSeriesDesc() is high (> 15) (gocyclo)
    • Line 441: warning: cyclomatic complexity 17 of function (*parser).expr() is high (> 15) (gocyclo)
    • Line 813: warning: cyclomatic complexity 16 of function (*parser).labelMatchers() is high (> 15) (gocyclo)
    • cortex/pkg/ring/model.go
    • Line 452: warning: cyclomatic complexity 18 of function (*Desc).RingCompare() is high (> 15) (gocyclo)
    • Line 161: warning: cyclomatic complexity 16 of function (*Desc).mergeWithTime() is high (> 15) (gocyclo)
    • cortex/pkg/ingester/ingester.go
    • Line 458: warning: cyclomatic complexity 19 of function (*Ingester).Push() is high (> 15) (gocyclo)
    • Line 552: warning: cyclomatic complexity 16 of function (*Ingester).append() is high (> 15) (gocyclo)

golint73%

Golint is a linter for Go source code.

    • cortex/integration/e2ecortex/services.go
    • Line 13: warning: exported const GossipPort should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported function NewDistributor should have comment or be unexported (golint)
    • Line 31: warning: exported function NewDistributorWithConfigFile should have comment or be unexported (golint)
    • Line 58: warning: exported function NewQuerier should have comment or be unexported (golint)
    • Line 62: warning: exported function NewQuerierWithConfigFile should have comment or be unexported (golint)
    • Line 100: warning: exported function NewStoreGateway should have comment or be unexported (golint)
    • Line 104: warning: exported function NewStoreGatewayWithConfigFile should have comment or be unexported (golint)
    • Line 131: warning: exported function NewIngester should have comment or be unexported (golint)
    • Line 135: warning: exported function NewIngesterWithConfigFile should have comment or be unexported (golint)
    • Line 165: warning: exported function NewTableManager should have comment or be unexported (golint)
    • Line 169: warning: exported function NewTableManagerWithConfigFile should have comment or be unexported (golint)
    • Line 191: warning: exported function NewQueryFrontend should have comment or be unexported (golint)
    • Line 195: warning: exported function NewQueryFrontendWithConfigFile should have comment or be unexported (golint)
    • Line 219: warning: exported function NewQueryScheduler should have comment or be unexported (golint)
    • Line 223: warning: exported function NewQuerySchedulerWithConfigFile should have comment or be unexported (golint)
    • Line 245: warning: exported function NewCompactor should have comment or be unexported (golint)
    • Line 249: warning: exported function NewCompactorWithConfigFile should have comment or be unexported (golint)
    • Line 278: warning: exported function NewSingleBinary should have comment or be unexported (golint)
    • Line 312: warning: exported function NewSingleBinaryWithConfigFile should have comment or be unexported (golint)
    • Line 333: warning: exported function NewAlertmanager should have comment or be unexported (golint)
    • Line 353: warning: exported function NewAlertmanagerWithTLS should have comment or be unexported (golint)
    • Line 373: warning: exported function NewRuler should have comment or be unexported (golint)
    • Line 394: warning: exported function NewPurger should have comment or be unexported (golint)
    • Line 398: warning: exported function NewPurgerWithConfigFile should have comment or be unexported (golint)
    • cortex/pkg/ruler/rulestore/local/local.go
    • Line 17: warning: exported const Name should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type Config should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method Config.RegisterFlagsWithPrefix should be of the form "RegisterFlagsWithPrefix ..." (golint)
    • Line 36: warning: exported function NewLocalRulesClient should have comment or be unexported (golint)
    • Line 47: warning: exported method Client.ListAllUsers should have comment or be unexported (golint)
    • Line 104: warning: exported method Client.LoadRuleGroups should have comment or be unexported (golint)
    • cortex/pkg/storegateway/gateway.go
    • Line 104: warning: exported function NewStoreGateway should have comment or be unexported (golint)
    • Line 319: warning: exported method StoreGateway.Series should have comment or be unexported (golint)
    • Line 333: warning: exported method StoreGateway.OnRingInstanceRegister should have comment or be unexported (golint)
    • Line 351: warning: exported method StoreGateway.OnRingInstanceTokens should have comment or be unexported (golint)
    • Line 352: warning: exported method StoreGateway.OnRingInstanceStopping should have comment or be unexported (golint)
    • Line 353: warning: exported method StoreGateway.OnRingInstanceHeartbeat should have comment or be unexported (golint)
    • cortex/integration/e2e/db/db.go
    • Line 17: warning: exported const MinioAccessKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported function NewConsul should have comment or be unexported (golint)
    • Line 62: warning: exported function NewETCD should have comment or be unexported (golint)
    • Line 73: warning: exported function NewDynamoClient should have comment or be unexported (golint)
    • Line 93: warning: exported function NewDynamoDB should have comment or be unexported (golint)
    • Line 104: warning: comment on exported function NewBigtable should be of the form "NewBigtable ..." (golint)
    • Line 115: warning: exported function NewCassandra should have comment or be unexported (golint)
    • Line 126: warning: exported function NewSwiftStorage should have comment or be unexported (golint)
    • cortex/tools/blocksconvert/plan_file.go
    • Line 19: warning: exported type PlanEntry should have comment or be unexported (golint)
    • Line 32: warning: exported method PlanEntry.Reset should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function IsPlanFilename should be of the form "IsPlanFilename ..." (golint)
    • Line 52: warning: exported function PreparePlanFileReader should have comment or be unexported (golint)
    • Line 64: warning: exported function StartingFilename should have comment or be unexported (golint)
    • Line 68: warning: exported function ProgressFilename should have comment or be unexported (golint)
    • Line 74: warning: exported function IsProgressFilename should have comment or be unexported (golint)
    • Line 88: warning: exported function FinishedFilename should have comment or be unexported (golint)
    • Line 94: warning: exported function IsFinishedFilename should have comment or be unexported (golint)
    • Line 103: warning: exported function ErrorFilename should have comment or be unexported (golint)
    • Line 107: warning: exported function IsErrorFilename should have comment or be unexported (golint)
    • cortex/integration/e2e/metrics_options.go
    • Line 9: warning: exported var DefaultMetricsOptions should have comment or be unexported (golint)
    • Line 41: warning: comment on exported function WaitMissingMetrics should be of the form "WaitMissingMetrics ..." (golint)
    • Line 47: warning: comment on exported function SkipMissingMetrics should be of the form "SkipMissingMetrics ..." (golint)
    • cortex/pkg/alertmanager/api.go
    • Line 58: warning: exported method MultitenantAlertmanager.GetUserConfig should have comment or be unexported (golint)
    • Line 96: warning: exported method MultitenantAlertmanager.SetUserConfig should have comment or be unexported (golint)
    • Line 264: warning: exported method MultitenantAlertmanager.ListAllConfigs should have comment or be unexported (golint)
    • cortex/pkg/querier/batch/batch.go
    • Line 21: warning: exported function NewGenericChunk should have comment or be unexported (golint)
    • Line 29: warning: exported method GenericChunk.Iterator should have comment or be unexported (golint)
    • cortex/pkg/util/services/failure_watcher.go
    • Line 12: warning: exported function NewFailureWatcher should have comment or be unexported (golint)
    • Line 16: warning: comment on exported method FailureWatcher.Chan should be of the form "Chan ..." (golint)
    • Line 25: warning: exported method FailureWatcher.WatchService should have comment or be unexported (golint)
    • Line 31: warning: exported method FailureWatcher.WatchManager should have comment or be unexported (golint)
    • cortex/integration/e2e/cache/cache.go
    • Line 9: warning: exported const MemcachedPort should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: exported function NewMemcached should have comment or be unexported (golint)
    • cortex/pkg/chunk/purger/delete_requests_store.go
    • Line 22: warning: exported type DeleteRequestStatus should have comment or be unexported (golint)
    • Line 23: warning: exported type CacheKind should have comment or be unexported (golint)
    • Line 28: warning: exported const StatusReceived should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported var ErrDeleteRequestNotFound should have comment or be unexported (golint)
    • Line 98: warning: comment on exported method DeleteStore.AddDeleteRequest should be of the form "AddDeleteRequest ..." (golint)
    • cortex/pkg/ruler/rulestore/objectclient/rule_store.go
    • Line 85: warning: exported method RuleStore.ListAllUsers should have comment or be unexported (golint)
    • Line 117: warning: exported method RuleStore.ListRuleGroupsForUserAndNamespace should have comment or be unexported (golint)
    • Line 126: warning: exported method RuleStore.LoadRuleGroups should have comment or be unexported (golint)
    • cortex/integration/e2ecortex/storage.go
    • Line 18: warning: exported type S3Client should have comment or be unexported (golint)
    • Line 23: warning: exported function NewS3Client should have comment or be unexported (golint)
    • Line 40: warning: exported function NewS3ClientForMinio should have comment or be unexported (golint)
    • cortex/pkg/storage/tsdb/config.go
    • Line 31: warning: comment on exported const DefaultCloseIdleTSDBInterval should be of the form "DefaultCloseIdleTSDBInterval ..." (golint)
    • Line 34: warning: comment on exported const DeletionMarkCheckInterval should be of the form "DeletionMarkCheckInterval ..." (golint)
    • Line 37: warning: comment on exported const ChunkPoolDefaultMinBucketSize should be of the form "ChunkPoolDefaultMinBucketSize ..." (golint)
    • Line 40: warning: comment on exported const ChunkPoolDefaultMaxBucketSize should be of the form "ChunkPoolDefaultMaxBucketSize ..." (golint)
    • Line 219: warning: comment on exported method TSDBConfig.IsBlocksShippingEnabled should be of the form "IsBlocksShippingEnabled ..." (golint)
    • Line 303: warning: exported type BucketIndexConfig should have comment or be unexported (golint)
    • Line 310: warning: exported method BucketIndexConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • cortex/pkg/util/validation/validate.go
    • Line 57: warning: comment on exported const TooManyHAClusters should be of the form "TooManyHAClusters ..." (golint)
    • Line 60: warning: comment on exported const ExemplarMaxLabelSetLength should be of the form "ExemplarMaxLabelSetLength ..." (golint)
    • Line 257: warning: exported function DeletePerUserValidationMetrics should have comment or be unexported (golint)
    • cortex/pkg/ruler/notifier.go
    • Line 25: warning: exported type NotifierConfig should have comment or be unexported (golint)
    • Line 30: warning: exported method NotifierConfig.RegisterFlags should have comment or be unexported (golint)
    • cortex/pkg/ring/model.go
    • Line 136: warning: exported method InstanceDesc.IsHealthy should have comment or be unexported (golint)
    • Line 443: warning: exported type CompareResult should have comment or be unexported (golint)
    • Line 446: warning: exported const Equal should have comment (or a comment on this block) or be unexported (golint)
    • Line 515: warning: exported function GetOrCreateRingDesc should have comment or be unexported (golint)
    • Line 538: warning: exported method TokensHeap.Push should have comment or be unexported (golint)
    • Line 542: warning: exported method TokensHeap.Pop should have comment or be unexported (golint)
    • cortex/pkg/querier/series/series_set.go
    • Line 198: warning: exported type DeletedSeriesSet should have comment or be unexported (golint)
    • Line 204: warning: exported function NewDeletedSeriesSet should have comment or be unexported (golint)
    • Line 212: warning: exported method DeletedSeriesSet.Next should have comment or be unexported (golint)
    • Line 216: warning: exported method DeletedSeriesSet.At should have comment or be unexported (golint)
    • Line 228: warning: exported method DeletedSeriesSet.Err should have comment or be unexported (golint)
    • Line 232: warning: exported method DeletedSeriesSet.Warnings should have comment or be unexported (golint)
    • Line 236: warning: exported type DeletedSeries should have comment or be unexported (golint)
    • Line 241: warning: exported function NewDeletedSeries should have comment or be unexported (golint)
    • Line 248: warning: exported method DeletedSeries.Labels should have comment or be unexported (golint)
    • Line 252: warning: exported method DeletedSeries.Iterator should have comment or be unexported (golint)
    • Line 256: warning: exported type DeletedSeriesIterator should have comment or be unexported (golint)
    • Line 261: warning: exported function NewDeletedSeriesIterator should have comment or be unexported (golint)
    • Line 268: warning: exported method DeletedSeriesIterator.Seek should have comment or be unexported (golint)
    • Line 282: warning: exported method DeletedSeriesIterator.At should have comment or be unexported (golint)
    • Line 286: warning: exported method DeletedSeriesIterator.Next should have comment or be unexported (golint)
    • Line 298: warning: exported method DeletedSeriesIterator.Err should have comment or be unexported (golint)
    • Line 324: warning: exported function NewEmptySeries should have comment or be unexported (golint)
    • Line 339: warning: exported function NewEmptySeriesIterator should have comment or be unexported (golint)
    • Line 364: warning: exported function NewSeriesSetWithWarnings should have comment or be unexported (golint)
    • cortex/pkg/ring/kv/memberlist/kv_init_service.go
    • Line 24: warning: comment on exported type KVInitService should be of the form "KVInitService ..." (with optional leading article) (golint)
    • Line 42: warning: exported function NewKVInitService should have comment or be unexported (golint)
    • Line 52: warning: comment on exported method KVInitService.GetMemberlistKV should be of the form "GetMemberlistKV ..." (golint)
    • cortex/tools/blocksconvert/allowed_users.go
    • Line 9: warning: exported type AllowedUsers should have comment or be unexported (golint)
    • Line 11: warning: exported var AllowAllUsers should have comment or be unexported (golint)
    • Line 13: warning: exported method AllowedUsers.AllUsersAllowed should have comment or be unexported (golint)
    • Line 17: warning: exported method AllowedUsers.IsAllowed should have comment or be unexported (golint)
    • Line 26: warning: exported method AllowedUsers.GetAllowedUsers should have comment or be unexported (golint)
    • Line 40: warning: exported function ParseAllowedUsersFromFile should have comment or be unexported (golint)
    • Line 57: warning: exported function ParseAllowedUsers should have comment or be unexported (golint)
    • cortex/integration/e2ecortex/client.go
    • Line 30: warning: exported var ErrNotFound should have comment or be unexported (golint)
    • Line 126: warning: comment on exported method Client.QueryRange should be of the form "QueryRange ..." (golint)
    • Line 537: warning: exported method Client.GetAlertsV1 should have comment or be unexported (golint)
    • Line 575: warning: exported method Client.GetAlertsV2 should have comment or be unexported (golint)
    • Line 604: warning: exported type AlertGroup should have comment or be unexported (golint)
    • Line 609: warning: exported method Client.GetAlertGroups should have comment or be unexported (golint)
    • Line 679: warning: exported method Client.GetSilencesV1 should have comment or be unexported (golint)
    • Line 717: warning: exported method Client.GetSilencesV2 should have comment or be unexported (golint)
    • Line 746: warning: exported method Client.GetSilenceV1 should have comment or be unexported (golint)
    • Line 784: warning: exported method Client.GetSilenceV2 should have comment or be unexported (golint)
    • Line 813: warning: exported method Client.DeleteSilence should have comment or be unexported (golint)
    • Line 837: warning: exported method Client.GetReceivers should have comment or be unexported (golint)
    • Line 875: warning: exported method Client.PostRequest should have comment or be unexported (golint)
    • cortex/integration/e2ecortex/service.go
    • Line 12: warning: exported function NewCortexService should have comment or be unexported (golint)
    • Line 27: warning: exported method CortexService.GRPCEndpoint should have comment or be unexported (golint)
    • Line 31: warning: exported method CortexService.NetworkGRPCEndpoint should have comment or be unexported (golint)
    • Line 41: warning: exported function NewCompositeCortexService should have comment or be unexported (golint)
    • cortex/pkg/ruler/rulestore/configdb/store.go
    • Line 13: warning: exported const Name should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported method ConfigRuleStore.SupportsModifications should have comment or be unexported (golint)
    • Line 36: warning: exported method ConfigRuleStore.ListAllUsers should have comment or be unexported (golint)
    • Line 91: warning: exported method ConfigRuleStore.ListRuleGroupsForUserAndNamespace should have comment or be unexported (golint)
    • Line 113: warning: exported method ConfigRuleStore.LoadRuleGroups should have comment or be unexported (golint)
    • cortex/pkg/util/active_user.go
    • Line 20: warning: exported function NewActiveUsers should have comment or be unexported (golint)
    • Line 26: warning: exported method ActiveUsers.UpdateUserTimestamp should have comment or be unexported (golint)
    • Line 106: warning: exported function NewActiveUsersCleanupWithDefaultValues should have comment or be unexported (golint)
    • Line 110: warning: exported function NewActiveUsersCleanupService should have comment or be unexported (golint)
    • Line 121: warning: exported method ActiveUsersCleanupService.UpdateUserTimestamp should have comment or be unexported (golint)
    • cortex/pkg/configs/legacy_promql/value.go
    • Line 31: warning: exported method Matrix.Type should have comment or be unexported (golint)
    • Line 32: warning: exported method Vector.Type should have comment or be unexported (golint)
    • Line 33: warning: exported method Scalar.Type should have comment or be unexported (golint)
    • Line 34: warning: exported method String.Type should have comment or be unexported (golint)
    • Line 58: warning: exported method String.MarshalJSON should have comment or be unexported (golint)
    • Line 73: warning: exported method Scalar.MarshalJSON should have comment or be unexported (golint)
    • Line 120: warning: exported method Sample.MarshalJSON should have comment or be unexported (golint)
    • cortex/pkg/ruler/api.go
    • Line 139: warning: exported method API.PrometheusRules should have comment or be unexported (golint)
    • Line 231: warning: exported method API.PrometheusAlerts should have comment or be unexported (golint)
    • Line 386: warning: exported method API.ListRules should have comment or be unexported (golint)
    • Line 420: warning: exported method API.GetRuleGroup should have comment or be unexported (golint)
    • Line 442: warning: exported method API.CreateRuleGroup should have comment or be unexported (golint)
    • Line 511: warning: exported method API.DeleteNamespace should have comment or be unexported (golint)
    • Line 533: warning: exported method API.DeleteRuleGroup should have comment or be unexported (golint)
    • cortex/pkg/api/api.go
    • Line 44: warning: exported type ConfigHandler should have comment or be unexported (golint)
    • Line 46: warning: exported type Config should have comment or be unexported (golint)
    • Line 89: warning: exported type API should have comment or be unexported (golint)
    • Line 99: warning: exported function New should have comment or be unexported (golint)
    • Line 152: warning: exported method API.RegisterRoutesWithPrefix should have comment or be unexported (golint)
    • Line 282: warning: exported method API.RegisterTenantDeletion should have comment or be unexported (golint)
    • Line 388: warning: comment on exported method API.RegisterQueryFrontendHandler should be of the form "RegisterQueryFrontendHandler ..." (golint)
    • Line 395: warning: exported method API.RegisterQueryFrontend1 should have comment or be unexported (golint)
    • Line 399: warning: exported method API.RegisterQueryFrontend2 should have comment or be unexported (golint)
    • Line 403: warning: exported method API.RegisterQueryScheduler should have comment or be unexported (golint)
    • Line 416: warning: exported method API.RegisterMemberlistKV should have comment or be unexported (golint)
    • cortex/pkg/configs/legacy_promql/ast.go
    • Line 1: warning: package comment should be of the form "Package promql ..." (golint)
    • Line 172: warning: exported method AggregateExpr.Type should have comment or be unexported (golint)
    • Line 173: warning: exported method Call.Type should have comment or be unexported (golint)
    • Line 174: warning: exported method MatrixSelector.Type should have comment or be unexported (golint)
    • Line 175: warning: exported method NumberLiteral.Type should have comment or be unexported (golint)
    • Line 176: warning: exported method ParenExpr.Type should have comment or be unexported (golint)
    • Line 177: warning: exported method StringLiteral.Type should have comment or be unexported (golint)
    • Line 178: warning: exported method UnaryExpr.Type should have comment or be unexported (golint)
    • Line 179: warning: exported method VectorSelector.Type should have comment or be unexported (golint)
    • Line 180: warning: exported method BinaryExpr.Type should have comment or be unexported (golint)
    • Line 202: warning: exported const CardOneToOne should have comment (or a comment on this block) or be unexported (golint)
    • Line 331: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • cortex/pkg/util/math/rate.go
    • Line 22: warning: exported function NewEWMARate should have comment or be unexported (golint)
    • Line 57: warning: exported method EwmaRate.Add should have comment or be unexported (golint)
    • cortex/pkg/util/services/manager.go
    • Line 30: warning: comment on exported type Manager should be of the form "Manager ..." (with optional leading article) (golint)
    • Line 75: warning: comment on exported method Manager.StartAsync should be of the form "StartAsync ..." (golint)
    • Line 87: warning: comment on exported method Manager.StopAsync should be of the form "StopAsync ..." (golint)
    • Line 98: warning: comment on exported method Manager.IsHealthy should be of the form "IsHealthy ..." (golint)
    • Line 106: warning: comment on exported method Manager.AwaitHealthy should be of the form "AwaitHealthy ..." (golint)
    • Line 135: warning: comment on exported method Manager.IsStopped should be of the form "IsStopped ..." (golint)
    • Line 143: warning: comment on exported method Manager.AwaitStopped should be of the form "AwaitStopped ..." (golint)
    • Line 153: warning: comment on exported method Manager.ServicesByState should be of the form "ServicesByState ..." (golint)
    • Line 222: warning: comment on exported method Manager.AddListener should be of the form "AddListener ..." (golint)
    • cortex/integration/ca/ca.go
    • Line 17: warning: exported type CA should have comment or be unexported (golint)
    • Line 23: warning: exported function New should have comment or be unexported (golint)
    • Line 62: warning: exported method CA.WriteCACertificate should have comment or be unexported (golint)
    • Line 71: warning: exported method CA.WriteCertificate should have comment or be unexported (golint)
    • cortex/pkg/chunk/grpc/storage_client.go
    • Line 13: warning: exported type StorageClient should have comment or be unexported (golint)
    • Line 33: warning: exported method StorageClient.Stop should have comment or be unexported (golint)
    • Line 68: warning: exported method StorageClient.DeleteChunk should have comment or be unexported (golint)
    • Line 77: warning: exported method StorageClient.GetChunks should have comment or be unexported (golint)
    • cortex/integration/e2e/scenario.go
    • Line 12: warning: exported const ContainerSharedDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type Service should have comment or be unexported (golint)
    • Line 25: warning: exported type Scenario should have comment or be unexported (golint)
    • Line 32: warning: exported function NewScenario should have comment or be unexported (golint)
    • Line 74: warning: exported method Scenario.StartAndWaitReady should have comment or be unexported (golint)
    • Line 81: warning: exported method Scenario.Start should have comment or be unexported (golint)
    • Line 102: warning: exported method Scenario.Stop should have comment or be unexported (golint)
    • Line 122: warning: exported method Scenario.WaitReady should have comment or be unexported (golint)
    • Line 134: warning: exported method Scenario.Close should have comment or be unexported (golint)
    • cortex/pkg/storage/tsdb/bucketindex/index.go
    • Line 19: warning: exported const IndexFilename should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported method Index.GetUpdatedAt should have comment or be unexported (golint)
    • Line 95: warning: exported method Block.GetUploadedAt should have comment or be unexported (golint)
    • Line 137: warning: exported function BlockFromThanosMeta should have comment or be unexported (golint)
    • Line 198: warning: exported method BlockDeletionMark.GetDeletionTime should have comment or be unexported (golint)
    • Line 202: warning: comment on exported method BlockDeletionMark.ThanosDeletionMark should be of the form "ThanosDeletionMark ..." (golint)
    • Line 211: warning: exported function BlockDeletionMarkFromThanosMarker should have comment or be unexported (golint)
    • Line 221: warning: exported method BlockDeletionMarks.GetULIDs should have comment or be unexported (golint)
    • Line 229: warning: exported method BlockDeletionMarks.Clone should have comment or be unexported (golint)
    • Line 241: warning: exported method Blocks.GetULIDs should have comment or be unexported (golint)
    • cortex/pkg/ruler/compat.go
    • Line 114: warning: comment on exported type RulesManager should be of the form "RulesManager ..." (with optional leading article) (golint)
    • Line 132: warning: exported function DefaultTenantManagerFactory should have comment or be unexported (golint)
    • cortex/pkg/tenant/resolver.go
    • Line 39: warning: exported type Resolver should have comment or be unexported (golint)
    • Line 59: warning: exported type SingleResolver should have comment or be unexported (golint)
    • Line 62: warning: exported method SingleResolver.TenantID should have comment or be unexported (golint)
    • Line 67: warning: exported method SingleResolver.TenantIDs should have comment or be unexported (golint)
    • Line 76: warning: exported type MultiResolver should have comment or be unexported (golint)
    • Line 87: warning: exported method MultiResolver.TenantID should have comment or be unexported (golint)
    • Line 100: warning: exported method MultiResolver.TenantIDs should have comment or be unexported (golint)
    • cortex/pkg/storegateway/metadata_fetcher_metrics.go
    • Line 9: warning: comment on exported type MetadataFetcherMetrics should be of the form "MetadataFetcherMetrics ..." (with optional leading article) (golint)
    • Line 26: warning: exported function NewMetadataFetcherMetrics should have comment or be unexported (golint)
    • Line 55: warning: exported method MetadataFetcherMetrics.AddUserRegistry should have comment or be unexported (golint)
    • Line 59: warning: exported method MetadataFetcherMetrics.RemoveUserRegistry should have comment or be unexported (golint)
    • Line 63: warning: exported method MetadataFetcherMetrics.Describe should have comment or be unexported (golint)
    • Line 71: warning: exported method MetadataFetcherMetrics.Collect should have comment or be unexported (golint)
    • cortex/pkg/ingester/active_series.go
    • Line 44: warning: exported function NewActiveSeries should have comment or be unexported (golint)
    • Line 55: warning: comment on exported method ActiveSeries.UpdateSeries should be of the form "UpdateSeries ..." (golint)
    • Line 97: warning: exported method ActiveSeries.Active should have comment or be unexported (golint)
    • cortex/pkg/ring/ring.go
    • Line 98: warning: exported var Read should have comment or be unexported (golint)
    • Line 214: warning: exported function NewWithStoreClientAndStrategy should have comment or be unexported (golint)
    • Line 835: warning: exported method Ring.CleanupShuffleShardCache should have comment or be unexported (golint)
    • cortex/pkg/configs/api/api.go
    • Line 31: warning: exported var ErrEmailNotificationsAreDisabled should have comment or be unexported (golint)
    • Line 344: warning: exported const FormatInvalid should have comment (or a comment on this block) or be unexported (golint)
    • cortex/pkg/storage/bucket/client_mock.go
    • Line 28: warning: exported method ClientMock.MockUpload should have comment or be unexported (golint)
    • Line 105: warning: exported method ClientMock.MockDelete should have comment or be unexported (golint)
    • Line 109: warning: exported method ClientMock.MockExists should have comment or be unexported (golint)
    • Line 130: warning: comment on exported method ClientMock.Attributes should be of the form "Attributes ..." (golint)
    • cortex/pkg/chunk/table_provisioning.go
    • Line 22: warning: exported type ActiveTableProvisionConfig should have comment or be unexported (golint)
    • Line 42: warning: exported type InactiveTableProvisionConfig should have comment or be unexported (golint)
    • Line 67: warning: exported method ActiveTableProvisionConfig.BuildTableDesc should have comment or be unexported (golint)
    • Line 89: warning: exported method InactiveTableProvisionConfig.BuildTableDesc should have comment or be unexported (golint)
    • cortex/tools/blocksconvert/scanner/index_entry.go
    • Line 26: warning: exported function IsMetricToSeriesMapping should have comment or be unexported (golint)
    • Line 30: warning: exported function IsMetricLabelToLabelValueMapping should have comment or be unexported (golint)
    • Line 34: warning: exported function IsSeriesToLabelValues should have comment or be unexported (golint)
    • Line 38: warning: comment on exported function IsSeriesToChunkMapping should be of the form "IsSeriesToChunkMapping ..." (golint)
    • Line 43: warning: exported function UnknownIndexEntryType should have comment or be unexported (golint)
    • Line 52: warning: comment on exported function GetSeriesToChunkMapping should be of the form "GetSeriesToChunkMapping ..." (golint)
    • cortex/pkg/chunk/grpc/index_client.go
    • Line 13: warning: exported method WriteBatch.Add should have comment or be unexported (golint)
    • Line 22: warning: exported method WriteBatch.Delete should have comment or be unexported (golint)
    • Line 30: warning: exported method StorageClient.NewWriteBatch should have comment or be unexported (golint)
    • Line 34: warning: exported method StorageClient.BatchWrite should have comment or be unexported (golint)
    • Line 51: warning: exported method StorageClient.QueryPages should have comment or be unexported (golint)
    • Line 84: warning: exported method QueryIndexResponse.Iterator should have comment or be unexported (golint)
    • cortex/pkg/chunk/grpc/table_client.go
    • Line 13: warning: exported type TableClient should have comment or be unexported (golint)
    • Line 31: warning: exported method TableClient.ListTables should have comment or be unexported (golint)
    • Line 39: warning: exported method TableClient.DeleteTable should have comment or be unexported (golint)
    • Line 48: warning: exported method TableClient.DescribeTable should have comment or be unexported (golint)
    • Line 62: warning: exported method TableClient.UpdateTable should have comment or be unexported (golint)
    • Line 89: warning: exported method TableClient.CreateTable should have comment or be unexported (golint)
    • Line 105: warning: exported method TableClient.Stop should have comment or be unexported (golint)
    • cortex/pkg/frontend/config.go
    • Line 17: warning: comment on exported type CombinedFrontendConfig should be of the form "CombinedFrontendConfig ..." (with optional leading article) (golint)
    • Line 26: warning: exported method CombinedFrontendConfig.RegisterFlags should have comment or be unexported (golint)
    • cortex/pkg/cortexpb/timeseries.go
    • Line 89: warning: exported method LabelAdapter.MarshalTo should have comment or be unexported (golint)
    • Line 94: warning: comment on exported method LabelAdapter.MarshalToSizedBuffer should be of the form "MarshalToSizedBuffer ..." (golint)
    • cortex/pkg/frontend/transport/handler.go
    • Line 32: warning: exported const ServiceTimingHeaderName should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported type HandlerConfig should be of the form "HandlerConfig ..." (with optional leading article) (golint)
    • Line 48: warning: exported method HandlerConfig.RegisterFlags should have comment or be unexported (golint)
    • cortex/pkg/storegateway/gateway_ring.go
    • Line 28: warning: comment on exported const RingNumTokens should be of the form "RingNumTokens ..." (golint)
    • Line 101: warning: exported method RingConfig.ToRingConfig should have comment or be unexported (golint)
    • Line 114: warning: exported method RingConfig.ToLifecyclerConfig should have comment or be unexported (golint)
    • cortex/pkg/compactor/blocks_cleaner.go
    • Line 27: warning: exported type BlocksCleanerConfig should have comment or be unexported (golint)
    • Line 35: warning: exported type BlocksCleaner should have comment or be unexported (golint)
    • Line 61: warning: exported function NewBlocksCleaner should have comment or be unexported (golint)
    • cortex/pkg/scheduler/queue/queue.go
    • Line 21: warning: exported var ErrTooManyRequests should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method UserIndex.ReuseLastUser should be of the form "ReuseLastUser ..." (golint)
    • Line 64: warning: exported function NewRequestQueue should have comment or be unexported (golint)
    • Line 195: warning: exported method RequestQueue.RegisterQuerierConnection should have comment or be unexported (golint)
    • Line 203: warning: exported method RequestQueue.UnregisterQuerierConnection should have comment or be unexported (golint)
    • Line 211: warning: exported method RequestQueue.NotifyQuerierShutdown should have comment or be unexported (golint)
    • Line 217: warning: comment on exported method RequestQueue.QuerierDisconnecting should be of the form "QuerierDisconnecting ..." (golint)
    • Line 222: warning: exported method RequestQueue.GetConnectedQuerierWorkersMetric should have comment or be unexported (golint)
    • cortex/integration/e2e/logger.go
    • Line 22: warning: exported type Logger should have comment or be unexported (golint)
    • Line 26: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 32: warning: exported method Logger.Log should have comment or be unexported (golint)
    • cortex/pkg/alertmanager/state_persister.go
    • Line 28: warning: exported type PersisterConfig should have comment or be unexported (golint)
    • Line 32: warning: exported method PersisterConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 36: warning: exported method PersisterConfig.Validate should have comment or be unexported (golint)
    • Line 43: warning: exported type PersistableState should have comment or be unexported (golint)
    • cortex/pkg/tenant/tenant.go
    • Line 52: warning: comment on exported function ValidTenantID should be of the form "ValidTenantID ..." (golint)
    • Line 71: warning: exported function JoinTenantIDs should have comment or be unexported (golint)
    • cortex/pkg/testexporter/correctness/delete_series.go
    • Line 41: warning: exported type DeleteSeriesTestConfig should have comment or be unexported (golint)
    • Line 53: warning: exported method DeleteSeriesTestConfig.RegisterFlags should have comment or be unexported (golint)
    • Line 77: warning: exported function NewDeleteSeriesTest should have comment or be unexported (golint)
    • Line 96: warning: exported method DeleteSeriesTest.Stop should have comment or be unexported (golint)
    • Line 125: warning: exported method DeleteSeriesTest.Test should have comment or be unexported (golint)
    • Line 293: warning: exported method DeleteSeriesTest.MinQueryTime should have comment or be unexported (golint)
    • cortex/pkg/util/http.go
    • Line 36: warning: exported method BasicAuth.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 80: warning: comment on exported function WriteTextResponse should be of the form "WriteTextResponse ..." (golint)
    • Line 88: warning: comment on exported function WriteHTMLResponse should be of the form "WriteHTMLResponse ..." (golint)
    • cortex/pkg/util/limiter/query_limiter.go
    • Line 19: warning: exported var ErrMaxSeriesHit should have comment or be unexported (golint)
    • Line 23: warning: exported type QueryLimiter should have comment or be unexported (golint)
    • Line 45: warning: exported function AddQueryLimiterToContext should have comment or be unexported (golint)
    • cortex/pkg/ruler/manager.go
    • Line 25: warning: exported type DefaultMultiTenantManager should have comment or be unexported (golint)
    • Line 50: warning: exported function NewDefaultMultiTenantManager should have comment or be unexported (golint)
    • Line 94: warning: exported method DefaultMultiTenantManager.SyncRuleGroups should have comment or be unexported (golint)
    • Line 221: warning: exported method DefaultMultiTenantManager.GetRules should have comment or be unexported (golint)
    • Line 231: warning: exported method DefaultMultiTenantManager.Stop should have comment or be unexported (golint)
    • Line 258: warning: exported method DefaultMultiTenantManager.ValidateRuleGroup should have comment or be unexported (golint)
    • cortex/pkg/chunk/util/util.go
    • Line 138: warning: exported function NewReadCloserWithContextCancelFunc should have comment or be unexported (golint)
    • Line 145: warning: exported method ReadCloserWithContextCancelFunc.Close should have comment or be unexported (golint)
    • cortex/pkg/storage/bucket/prefixed_bucket_client.go
    • Line 11: warning: exported type PrefixedBucketClient should have comment or be unexported (golint)
    • Line 81: warning: comment on exported method PrefixedBucketClient.ReaderWithExpectedErrs should be of the form "ReaderWithExpectedErrs ..." (golint)
    • Line 87: warning: comment on exported method PrefixedBucketClient.WithExpectedErrs should be of the form "WithExpectedErrs ..." (golint)
    • cortex/pkg/cortex/modules.go
    • Line 354: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • cortex/pkg/storage/tsdb/memcache_client_config.go
    • Line 12: warning: exported type MemcachedClientConfig should have comment or be unexported (golint)
    • Line 23: warning: exported method MemcachedClientConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 34: warning: exported method MemcachedClientConfig.GetAddresses should have comment or be unexported (golint)
    • Line 51: warning: exported method MemcachedClientConfig.ToMemcachedClientConfig should have comment or be unexported (golint)
    • cortex/pkg/querier/blocks_consistency_checker.go
    • Line 15: warning: exported type BlocksConsistencyChecker should have comment or be unexported (golint)
    • Line 24: warning: exported function NewBlocksConsistencyChecker should have comment or be unexported (golint)
    • Line 40: warning: exported method BlocksConsistencyChecker.Check should have comment or be unexported (golint)
    • cortex/pkg/util/services/services.go
    • Line 9: warning: comment on exported function NewIdleService should be of the form "NewIdleService ..." (golint)
    • Line 20: warning: comment on exported type OneIteration should be of the form "OneIteration ..." (with optional leading article) (golint)
    • Line 24: warning: comment on exported function NewTimerService should be of the form "NewTimerService ..." (golint)
    • cortex/pkg/ring/basic_lifecycler_delegates.go
    • Line 12: warning: exported type LeaveOnStoppingDelegate should have comment or be unexported (golint)
    • Line 17: warning: exported function NewLeaveOnStoppingDelegate should have comment or be unexported (golint)
    • Line 24: warning: exported method LeaveOnStoppingDelegate.OnRingInstanceRegister should have comment or be unexported (golint)
    • Line 28: warning: exported method LeaveOnStoppingDelegate.OnRingInstanceTokens should have comment or be unexported (golint)
    • Line 32: warning: exported method LeaveOnStoppingDelegate.OnRingInstanceStopping should have comment or be unexported (golint)
    • Line 40: warning: exported method LeaveOnStoppingDelegate.OnRingInstanceHeartbeat should have comment or be unexported (golint)
    • Line 44: warning: exported type TokensPersistencyDelegate should have comment or be unexported (golint)
    • Line 51: warning: exported function NewTokensPersistencyDelegate should have comment or be unexported (golint)
    • Line 60: warning: exported method TokensPersistencyDelegate.OnRingInstanceRegister should have comment or be unexported (golint)
    • Line 95: warning: exported method TokensPersistencyDelegate.OnRingInstanceTokens should have comment or be unexported (golint)
    • Line 105: warning: exported method TokensPersistencyDelegate.OnRingInstanceStopping should have comment or be unexported (golint)
    • Line 109: warning: exported method TokensPersistencyDelegate.OnRingInstanceHeartbeat should have comment or be unexported (golint)
    • Line 121: warning: exported function NewAutoForgetDelegate should have comment or be unexported (golint)
    • Line 129: warning: exported method AutoForgetDelegate.OnRingInstanceRegister should have comment or be unexported (golint)
    • Line 133: warning: exported method AutoForgetDelegate.OnRingInstanceTokens should have comment or be unexported (golint)
    • Line 137: warning: exported method AutoForgetDelegate.OnRingInstanceStopping should have comment or be unexported (golint)
    • Line 141: warning: exported method AutoForgetDelegate.OnRingInstanceHeartbeat should have comment or be unexported (golint)
    • cortex/pkg/alertmanager/lifecycle.go
    • Line 7: warning: exported method MultitenantAlertmanager.OnRingInstanceRegister should have comment or be unexported (golint)
    • Line 25: warning: exported method MultitenantAlertmanager.OnRingInstanceTokens should have comment or be unexported (golint)
    • Line 26: warning: exported method MultitenantAlertmanager.OnRingInstanceStopping should have comment or be unexported (golint)
    • Line 27: warning: exported method MultitenantAlertmanager.OnRingInstanceHeartbeat should have comment or be unexported (golint)
    • cortex/pkg/alertmanager/multitenant.go
    • Line 93: warning: exported type ClusterConfig should have comment or be unexported (golint)
    • Line 130: warning: exported method ClusterConfig.RegisterFlags should have comment or be unexported (golint)
    • Line 1237: warning: comment on exported method MultitenantAlertmanager.ReadState should be of the form "ReadState ..." (golint)
    • cortex/pkg/chunk/chunk_store.go
    • Line 29: warning: exported var ErrQueryMustContainMetricName should have comment or be unexported (golint)
    • Line 46: warning: comment on exported type QueryError should be of the form "QueryError ..." (with optional leading article) (golint)
    • cortex/pkg/util/grpcutil/carrier.go
    • Line 8: warning: comment on exported type HttpgrpcHeadersCarrier should be of the form "HttpgrpcHeadersCarrier ..." (with optional leading article) (golint)
    • Line 11: warning: exported method HttpgrpcHeadersCarrier.Set should have comment or be unexported (golint)
    • Line 18: warning: exported method HttpgrpcHeadersCarrier.ForeachKey should have comment or be unexported (golint)
    • Line 29: warning: exported function GetParentSpanForRequest should have comment or be unexported (golint)
    • cortex/pkg/api/handlers.go
    • Line 33: warning: exported const SectionAdminEndpoints should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported method IndexPageContent.AddLink should have comment or be unexported (golint)
    • Line 62: warning: exported method IndexPageContent.GetContent should have comment or be unexported (golint)
    • Line 121: warning: exported function DefaultConfigHandler should have comment or be unexported (golint)
    • cortex/pkg/chunk/azure/blob_storage_client.go
    • Line 115: warning: exported method BlobStorage.GetObject should have comment or be unexported (golint)
    • Line 149: warning: exported method BlobStorage.PutObject should have comment or be unexported (golint)
    • Line 246: warning: exported method BlobStorage.DeleteObject should have comment or be unexported (golint)
    • cortex/pkg/querier/worker/worker.go
    • Line 22: warning: exported type Config should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 49: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 56: warning: comment on exported type RequestHandler should be of the form "RequestHandler ..." (with optional leading article) (golint)
    • Line 92: warning: exported function NewQuerierWorker should have comment or be unexported (golint)
    • cortex/pkg/scheduler/scheduler.go
    • Line 82: warning: exported type Config should have comment or be unexported (golint)
    • Line 88: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 395: warning: exported method Scheduler.NotifyQuerierShutdown should have comment or be unexported (golint)
    • cortex/pkg/ring/replication_strategy.go
    • Line 10: warning: exported type ReplicationStrategy should have comment or be unexported (golint)
    • Line 19: warning: exported function NewDefaultReplicationStrategy should have comment or be unexported (golint)
    • Line 70: warning: exported function NewIgnoreUnhealthyInstancesReplicationStrategy should have comment or be unexported (golint)
    • Line 93: warning: exported method Ring.IsHealthy should have comment or be unexported (golint)
    • cortex/pkg/chunk/purger/tombstones.go
    • Line 51: warning: comment on exported type DeleteStoreAPI should be of the form "DeleteStoreAPI ..." (with optional leading article) (golint)
    • Line 173: warning: comment on exported method TombstonesLoader.GetPendingTombstonesForInterval should be of the form "GetPendingTombstonesForInterval ..." (golint)
    • cortex/pkg/util/net/firewall_dialer.go
    • Line 16: warning: exported type FirewallDialerConfigProvider should have comment or be unexported (golint)
    • Line 27: warning: exported function NewFirewallDialer should have comment or be unexported (golint)
    • Line 33: warning: exported method FirewallDialer.DialContext should have comment or be unexported (golint)
    • cortex/tools/blocksconvert/shared_config.go
    • Line 17: warning: exported type SharedConfig should have comment or be unexported (golint)
    • Line 25: warning: exported method SharedConfig.RegisterFlags should have comment or be unexported (golint)
    • Line 33: warning: exported method SharedConfig.GetBucket should have comment or be unexported (golint)
    • cortex/tools/querytee/response_comparator.go
    • Line 18: warning: exported type SamplesResponse should have comment or be unexported (golint)
    • Line 26: warning: exported function NewSamplesComparator should have comment or be unexported (golint)
    • Line 37: warning: exported type SamplesComparator should have comment or be unexported (golint)
    • Line 42: warning: comment on exported method SamplesComparator.RegisterSamplesType should be of the form "RegisterSamplesType ..." (golint)
    • Line 47: warning: exported method SamplesComparator.Compare should have comment or be unexported (golint)
    • cortex/integration/e2e/util.go
    • Line 20: warning: exported function RunCommandAndGetOutput should have comment or be unexported (golint)
    • Line 25: warning: exported function RunCommandWithTimeoutAndGetOutput should have comment or be unexported (golint)
    • Line 33: warning: exported function EmptyFlags should have comment or be unexported (golint)
    • Line 37: warning: exported function MergeFlags should have comment or be unexported (golint)
    • Line 49: warning: exported function MergeFlagsWithoutRemovingEmpty should have comment or be unexported (golint)
    • Line 61: warning: exported function BuildArgs should have comment or be unexported (golint)
    • Line 75: warning: exported function GetRequest should have comment or be unexported (golint)
    • Line 82: warning: exported function PostRequest should have comment or be unexported (golint)
    • Line 107: warning: exported function GenerateSeries should have comment or be unexported (golint)
    • cortex/pkg/chunk/cassandra/storage_client.go
    • Line 58: warning: exported const HostPolicyRoundRobin should have comment (or a comment on this block) or be unexported (golint)
    • Line 93: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 403: warning: comment on exported method StorageClient.GetReadSession should be of the form "GetReadSession ..." (golint)
    • Line 528: warning: exported method ObjectClient.DeleteChunk should have comment or be unexported (golint)
    • cortex/pkg/ruler/ruler.go
    • Line 823: warning: exported method Ruler.DeleteTenantConfiguration should have comment or be unexported (golint)
    • Line 844: warning: exported method Ruler.ListAllRules should have comment or be unexported (golint)
    • cortex/tools/blocksconvert/cleaner/cleaner.go
    • Line 25: warning: exported type Config should have comment or be unexported (golint)
    • Line 32: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 39: warning: exported function NewCleaner should have comment or be unexported (golint)
    • Line 90: warning: exported type Cleaner should have comment or be unexported (golint)
    • cortex/pkg/util/metrics_helper.go
    • Line 86: warning: exported method MetricFamilyMap.SumCounters should have comment or be unexported (golint)
    • Line 90: warning: exported method MetricFamilyMap.SumGauges should have comment or be unexported (golint)
    • Line 94: warning: exported method MetricFamilyMap.MaxGauges should have comment or be unexported (golint)
    • Line 98: warning: exported method MetricFamilyMap.SumHistograms should have comment or be unexported (golint)
    • Line 104: warning: exported method MetricFamilyMap.SumHistogramsTo should have comment or be unexported (golint)
    • Line 110: warning: exported method MetricFamilyMap.SumSummaries should have comment or be unexported (golint)
    • Line 116: warning: exported method MetricFamilyMap.SumSummariesTo should have comment or be unexported (golint)
    • Line 140: warning: exported method MetricFamiliesPerUser.GetSumOfCounters should have comment or be unexported (golint)
    • Line 148: warning: exported method MetricFamiliesPerUser.SendSumOfCounters should have comment or be unexported (golint)
    • Line 152: warning: exported method MetricFamiliesPerUser.SendSumOfCountersWithLabels should have comment or be unexported (golint)
    • Line 156: warning: exported method MetricFamiliesPerUser.SendSumOfCountersPerUser should have comment or be unexported (golint)
    • Line 175: warning: exported method MetricFamiliesPerUser.GetSumOfGauges should have comment or be unexported (golint)
    • Line 183: warning: exported method MetricFamiliesPerUser.SendSumOfGauges should have comment or be unexported (golint)
    • Line 187: warning: exported method MetricFamiliesPerUser.SendSumOfGaugesWithLabels should have comment or be unexported (golint)
    • Line 191: warning: exported method MetricFamiliesPerUser.SendSumOfGaugesPerUser should have comment or be unexported (golint)
    • Line 218: warning: exported method MetricFamiliesPerUser.SendMaxOfGauges should have comment or be unexported (golint)
    • Line 234: warning: exported method MetricFamiliesPerUser.SendMaxOfGaugesPerUser should have comment or be unexported (golint)
    • Line 245: warning: exported method MetricFamiliesPerUser.SendSumOfSummaries should have comment or be unexported (golint)
    • Line 253: warning: exported method MetricFamiliesPerUser.SendSumOfSummariesWithLabels should have comment or be unexported (golint)
    • Line 282: warning: exported method MetricFamiliesPerUser.SendSumOfSummariesPerUser should have comment or be unexported (golint)
    • Line 293: warning: exported method MetricFamiliesPerUser.SendSumOfHistograms should have comment or be unexported (golint)
    • Line 301: warning: exported method MetricFamiliesPerUser.SendSumOfHistogramsWithLabels should have comment or be unexported (golint)
    • Line 438: warning: exported method SummaryData.AddSummary should have comment or be unexported (golint)
    • Line 453: warning: exported method SummaryData.Metric should have comment or be unexported (golint)
    • Line 464: warning: comment on exported method HistogramData.AddHistogram should be of the form "AddHistogram ..." (golint)
    • Line 480: warning: comment on exported method HistogramData.AddHistogramData should be of the form "AddHistogramData ..." (golint)
    • Line 495: warning: comment on exported method HistogramData.Metric should be of the form "Metric ..." (golint)
    • Line 500: warning: comment on exported function NewHistogramDataCollector should be of the form "NewHistogramDataCollector ..." (golint)
    • Line 517: warning: exported method HistogramDataCollector.Describe should have comment or be unexported (golint)
    • Line 521: warning: exported method HistogramDataCollector.Collect should have comment or be unexported (golint)
    • Line 528: warning: exported method HistogramDataCollector.Add should have comment or be unexported (golint)
    • Line 654: warning: exported method UserRegistries.BuildMetricFamiliesPerUser should have comment or be unexported (golint)
    • Line 728: warning: comment on exported function GetLabels should be of the form "GetLabels ..." (golint)
    • cortex/tools/blocksconvert/scheduler/scheduler.go
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 38: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 46: warning: exported function NewScheduler should have comment or be unexported (golint)
    • Line 103: warning: exported type Scheduler should have comment or be unexported (golint)
    • Line 266: warning: comment on exported method Scheduler.NextPlan should be of the form "NextPlan ..." (golint)
    • cortex/pkg/chunk/cache/redis_client.go
    • Line 47: warning: exported type RedisClient should have comment or be unexported (golint)
    • Line 74: warning: exported method RedisClient.Ping should have comment or be unexported (golint)
    • Line 91: warning: exported method RedisClient.MSet should have comment or be unexported (golint)
    • Line 106: warning: exported method RedisClient.MGet should have comment or be unexported (golint)
    • Line 148: warning: exported method RedisClient.Close should have comment or be unexported (golint)
    • cortex/pkg/ring/kv/codec/codec.go
    • Line 24: warning: exported function NewProtoCodec should have comment or be unexported (golint)
    • Line 28: warning: exported method Proto.CodecID should have comment or be unexported (golint)
    • Line 57: warning: exported method String.CodecID should have comment or be unexported (golint)
    • cortex/pkg/chunk/inmemory_storage_client.go
    • Line 19: warning: exported type MockStorageMode should have comment or be unexported (golint)
    • Line 24: warning: exported const MockStorageModeReadWrite should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported method MockStorage.GetSortedObjectKeys should have comment or be unexported (golint)
    • Line 70: warning: exported method MockStorage.GetObjectCount should have comment or be unexported (golint)
    • Line 81: warning: exported method MockStorage.SetMode should have comment or be unexported (golint)
    • Line 399: warning: exported method MockStorage.GetObject should have comment or be unexported (golint)
    • Line 415: warning: exported method MockStorage.PutObject should have comment or be unexported (golint)
    • Line 432: warning: exported method MockStorage.DeleteObject should have comment or be unexported (golint)
    • cortex/tools/blocksconvert/builder/builder.go
    • Line 38: warning: exported type Config should have comment or be unexported (golint)
    • Line 51: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 63: warning: exported function NewBuilder should have comment or be unexported (golint)
    • Line 125: warning: exported type Builder should have comment or be unexported (golint)
    • cortex/pkg/storage/tsdb/index_cache.go
    • Line 39: warning: exported type IndexCacheConfig should have comment or be unexported (golint)
    • Line 45: warning: exported method IndexCacheConfig.RegisterFlags should have comment or be unexported (golint)
    • Line 49: warning: exported method IndexCacheConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 71: warning: exported type InMemoryIndexCacheConfig should have comment or be unexported (golint)
    • Line 75: warning: exported method InMemoryIndexCacheConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • cortex/tools/query-audit/config.go
    • Line 12: warning: exported type Backend should have comment or be unexported (golint)
    • Line 17: warning: exported type Query should have comment or be unexported (golint)
    • Line 25: warning: exported method Query.Validate should have comment or be unexported (golint)
    • Line 39: warning: exported type Config should have comment or be unexported (golint)
    • Line 45: warning: exported method Config.Validate should have comment or be unexported (golint)
    • cortex/tools/querytee/proxy.go
    • Line 27: warning: exported type ProxyConfig should have comment or be unexported (golint)
    • Line 37: warning: exported method ProxyConfig.RegisterFlags should have comment or be unexported (golint)
    • Line 47: warning: exported type Route should have comment or be unexported (golint)
    • Line 54: warning: exported type Proxy should have comment or be unexported (golint)
    • Line 69: warning: exported function NewProxy should have comment or be unexported (golint)
    • Line 146: warning: exported method Proxy.Start should have comment or be unexported (golint)
    • Line 199: warning: exported method Proxy.Stop should have comment or be unexported (golint)
    • Line 207: warning: exported method Proxy.Await should have comment or be unexported (golint)
    • Line 212: warning: exported method Proxy.Endpoint should have comment or be unexported (golint)
    • cortex/integration/e2e/service.go
    • Line 53: warning: exported function NewConcreteService should have comment or be unexported (golint)
    • Line 79: warning: exported method ConcreteService.Name should have comment or be unexported (golint)
    • Line 83: warning: exported method ConcreteService.SetBackoff should have comment or be unexported (golint)
    • Line 87: warning: exported method ConcreteService.SetEnvVars should have comment or be unexported (golint)
    • Line 91: warning: exported method ConcreteService.SetUser should have comment or be unexported (golint)
    • Line 95: warning: exported method ConcreteService.Start should have comment or be unexported (golint)
    • Line 143: warning: exported method ConcreteService.Stop should have comment or be unexported (golint)
    • Line 159: warning: exported method ConcreteService.Kill should have comment or be unexported (golint)
    • Line 221: warning: exported method ConcreteService.SetReadinessProbe should have comment or be unexported (golint)
    • Line 225: warning: exported method ConcreteService.Ready should have comment or be unexported (golint)
    • Line 242: warning: exported method ConcreteService.WaitForRunning should have comment or be unexported (golint)
    • Line 277: warning: exported method ConcreteService.WaitReady should have comment or be unexported (golint)
    • Line 363: warning: exported type Command should have comment or be unexported (golint)
    • Line 369: warning: exported function NewCommand should have comment or be unexported (golint)
    • Line 376: warning: exported function NewCommandWithoutEntrypoint should have comment or be unexported (golint)
    • Line 384: warning: exported type ReadinessProbe should have comment or be unexported (golint)
    • Line 397: warning: exported function NewHTTPReadinessProbe should have comment or be unexported (golint)
    • Line 407: warning: exported method HTTPReadinessProbe.Ready should have comment or be unexported (golint)
    • Line 441: warning: exported function NewTCPReadinessProbe should have comment or be unexported (golint)
    • Line 447: warning: exported method TCPReadinessProbe.Ready should have comment or be unexported (golint)
    • Line 468: warning: exported function NewCmdReadinessProbe should have comment or be unexported (golint)
    • Line 472: warning: exported method CmdReadinessProbe.Ready should have comment or be unexported (golint)
    • Line 477: warning: exported type LinePrefixLogger should have comment or be unexported (golint)
    • Line 507: warning: exported function NewHTTPService should have comment or be unexported (golint)
    • Line 521: warning: exported method HTTPService.Metrics should have comment or be unexported (golint)
    • Line 542: warning: exported method HTTPService.HTTPPort should have comment or be unexported (golint)
    • Line 546: warning: exported method HTTPService.HTTPEndpoint should have comment or be unexported (golint)
    • Line 550: warning: exported method HTTPService.NetworkHTTPEndpoint should have comment or be unexported (golint)
    • Line 554: warning: exported method HTTPService.NetworkHTTPEndpointFor should have comment or be unexported (golint)
    • Line 564: warning: exported method HTTPService.WaitSumMetricsWithOptions should have comment or be unexported (golint)
    • cortex/pkg/chunk/local/boltdb_index_client.go
    • Line 25: warning: exported var ErrUnexistentBoltDB should have comment or be unexported (golint)
    • Line 32: warning: exported const DBOperationRead should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported type BoltIndexClient should have comment or be unexported (golint)
    • Line 118: warning: exported method BoltIndexClient.Stop should have comment or be unexported (golint)
    • Line 130: warning: exported method BoltIndexClient.NewWriteBatch should have comment or be unexported (golint)
    • Line 174: warning: exported method BoltIndexClient.WriteToDB should have comment or be unexported (golint)
    • Line 208: warning: exported method BoltIndexClient.BatchWrite should have comment or be unexported (golint)
    • Line 224: warning: exported method BoltIndexClient.QueryPages should have comment or be unexported (golint)
    • Line 241: warning: exported method BoltIndexClient.QueryDB should have comment or be unexported (golint)
    • Line 252: warning: exported method BoltIndexClient.QueryWithCursor should have comment or be unexported (golint)
    • Line 294: warning: exported type TableWrites should have comment or be unexported (golint)
    • Line 299: warning: exported type BoltWriteBatch should have comment or be unexported (golint)
    • Line 316: warning: exported method BoltWriteBatch.Delete should have comment or be unexported (golint)
    • Line 323: warning: exported method BoltWriteBatch.Add should have comment or be unexported (golint)
    • Line 362: warning: comment on exported function OpenBoltdbFile should be of the form "OpenBoltdbFile ..." (golint)
    • cortex/pkg/chunk/local/boltdb_table_client.go
    • Line 11: warning: exported type TableClient should have comment or be unexported (golint)
    • Line 20: warning: exported method TableClient.ListTables should have comment or be unexported (golint)
    • Line 38: warning: exported method TableClient.CreateTable should have comment or be unexported (golint)
    • Line 47: warning: exported method TableClient.DeleteTable should have comment or be unexported (golint)
    • Line 51: warning: exported method TableClient.DescribeTable should have comment or be unexported (golint)
    • Line 57: warning: exported method TableClient.UpdateTable should have comment or be unexported (golint)
    • Line 61: warning: exported method TableClient.Stop should have comment or be unexported (golint)
    • cortex/tools/blocksconvert/planprocessor/service.go
    • Line 29: warning: exported type PlanProcessor should have comment or be unexported (golint)
    • Line 34: warning: exported type Config should have comment or be unexported (golint)
    • Line 43: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 53: warning: comment on exported function NewService should be of the form "NewService ..." (golint)
    • Line 99: warning: comment on exported type Service should be of the form "Service ..." (with optional leading article) (golint)
    • cortex/pkg/util/validation/limits.go
    • Line 562: warning: exported method Overrides.NotificationRateLimit should have comment or be unexported (golint)
    • Line 576: warning: exported method Overrides.NotificationBurstSize should have comment or be unexported (golint)
    • Line 596: warning: exported method Overrides.AlertmanagerMaxConfigSize should have comment or be unexported (golint)
    • Line 600: warning: exported method Overrides.AlertmanagerMaxTemplatesCount should have comment or be unexported (golint)
    • Line 604: warning: exported method Overrides.AlertmanagerMaxTemplateSize should have comment or be unexported (golint)
    • cortex/tools/querytee/proxy_endpoint.go
    • Line 16: warning: exported type ResponsesComparator should have comment or be unexported (golint)
    • Line 20: warning: exported type ProxyEndpoint should have comment or be unexported (golint)
    • Line 33: warning: exported function NewProxyEndpoint should have comment or be unexported (golint)
    • cortex/pkg/querier/querier.go
    • Line 124: warning: exported method Config.GetStoreGatewayAddresses should have comment or be unexported (golint)
    • Line 570: warning: comment on exported function UseAlwaysQueryable should be of the form "UseAlwaysQueryable ..." (golint)
    • Line 587: warning: comment on exported function UseBeforeTimestampQueryable should be of the form "UseBeforeTimestampQueryable ..." (golint)
    • cortex/tools/blocksconvert/scanner/scanner.go
    • Line 35: warning: exported type Config should have comment or be unexported (golint)
    • Line 53: warning: exported method Config.RegisterFlags should have comment or be unexported (golint)
    • Line 67: warning: exported type Scanner should have comment or be unexported (golint)
    • Line 95: warning: exported function NewScanner should have comment or be unexported (golint)
    • cortex/integration/e2e/composite_service.go
    • Line 22: warning: exported function NewCompositeHTTPService should have comment or be unexported (golint)
    • Line 33: warning: exported method CompositeHTTPService.NumInstances should have comment or be unexported (golint)
    • Line 37: warning: exported method CompositeHTTPService.Instances should have comment or be unexported (golint)
    • Line 47: warning: exported method CompositeHTTPService.WaitSumMetricsWithOptions should have comment or be unexported (golint)
    • cortex/pkg/storage/tsdb/caching_bucket.go
    • Line 25: warning: exported const CacheBackendMemcached should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type CacheBackend should have comment or be unexported (golint)
    • Line 48: warning: exported type ChunksCacheConfig should have comment or be unexported (golint)
    • Line 57: warning: exported method ChunksCacheConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 68: warning: exported method ChunksCacheConfig.Validate should have comment or be unexported (golint)
    • Line 72: warning: exported type MetadataCacheConfig should have comment or be unexported (golint)
    • Line 88: warning: exported method MetadataCacheConfig.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 106: warning: exported method MetadataCacheConfig.Validate should have comment or be unexported (golint)
    • Line 110: warning: exported function CreateCachingBucket should have comment or be unexported (golint)
    • cortex/pkg/chunk/testutils/testutils.go
    • Line 111: warning: exported function SetupTestChunkStoreWithClients should have comment or be unexported (golint)
    • Line 147: warning: exported function SetupTestChunkStore should have comment or be unexported (golint)
    • Line 152: warning: exported function SetupTestObjectStore should have comment or be unexported (golint)
    • cortex/pkg/storegateway/sharding_strategy.go
    • Line 22: warning: exported type ShardingStrategy should have comment or be unexported (golint)
    • Line 40: warning: exported function NewNoShardingStrategy should have comment or be unexported (golint)
    • Line 44: warning: exported method NoShardingStrategy.FilterUsers should have comment or be unexported (golint)
    • Line 48: warning: exported method NoShardingStrategy.FilterBlocks should have comment or be unexported (golint)
    • Line 164: warning: exported function NewShardingMetadataFilterAdapter should have comment or be unexported (golint)
    • Line 183: warning: exported function NewShardingBucketReaderAdapter should have comment or be unexported (golint)
    • cortex/pkg/storegateway/bucket_store_metrics.go
    • Line 47: warning: exported function NewBucketStoreMetrics should have comment or be unexported (golint)
    • Line 166: warning: exported method BucketStoreMetrics.AddUserRegistry should have comment or be unexported (golint)
    • Line 170: warning: exported method BucketStoreMetrics.RemoveUserRegistry should have comment or be unexported (golint)
    • Line 174: warning: exported method BucketStoreMetrics.Describe should have comment or be unexported (golint)
    • Line 207: warning: exported method BucketStoreMetrics.Collect should have comment or be unexported (golint)
    • cortex/tools/thanosconvert/thanosconvert.go
    • Line 27: warning: exported type PerUserResults should have comment or be unexported (golint)
    • Line 31: warning: exported method PerUserResults.AddFailed should have comment or be unexported (golint)
    • Line 34: warning: exported method PerUserResults.AddConverted should have comment or be unexported (golint)
    • Line 38: warning: exported method PerUserResults.AddUnchanged should have comment or be unexported (golint)
    • Line 42: warning: exported type Results should have comment or be unexported (golint)
    • cortex/pkg/chunk/local/fs_object_client.go
    • Line 30: warning: comment on exported method FSConfig.RegisterFlagsWithPrefix should be of the form "RegisterFlagsWithPrefix ..." (golint)
    • Line 163: warning: exported method FSObjectClient.DeleteObject should have comment or be unexported (golint)
    • cortex/pkg/chunk/purger/tenant_deletion_api.go
    • Line 22: warning: exported type TenantDeletionAPI should have comment or be unexported (golint)
    • Line 28: warning: exported function NewTenantDeletionAPI should have comment or be unexported (golint)
    • Line 45: warning: exported method TenantDeletionAPI.DeleteTenant should have comment or be unexported (golint)
    • Line 68: warning: exported type DeleteTenantStatusResponse should have comment or be unexported (golint)
    • Line 73: warning: exported method TenantDeletionAPI.DeleteTenantStatus should have comment or be unexported (golint)
    • cortex/pkg/storage/bucket/client.go
    • Line 40: warning: exported var SupportedBackends should have comment or be unexported (golint)
    • Line 74: warning: exported method Config.RegisterFlagsWithPrefix should have comment or be unexported (golint)
    • Line 84: warning: exported method Config.Validate should have comment or be unexported (golint)
    • cortex/pkg/ring/basic_lifecycler.go
    • Line 20: warning: exported type BasicLifecyclerDelegate should have comment or be unexported (golint)
    • Line 40: warning: exported type BasicLifecyclerConfig should have comment or be unexported (golint)
    • Line 102: warning: exported method BasicLifecycler.GetInstanceID should have comment or be unexported (golint)
    • Line 106: warning: exported method BasicLifecycler.GetInstanceAddr should have comment or be unexported (golint)
    • Line 110: warning: exported method BasicLifecycler.GetInstanceZone should have comment or be unexported (golint)
    • Line 114: warning: exported method BasicLifecycler.GetState should have comment or be unexported (golint)
    • Line 125: warning: exported method BasicLifecycler.GetTokens should have comment or be unexported (golint)
    • Line 154: warning: exported method BasicLifecycler.ChangeState should have comment or be unexported (golint)
    • cortex/pkg/cortexpb/compat.go
    • Line 57: warning: comment on exported function CopyLabels should be of the form "CopyLabels ..." (golint)
    • Line 188: warning: exported function SampleJsoniterEncode should have comment or be unexported (golint)
    • Line 203: warning: exported function SampleJsoniterDecode should have comment or be unexported (golint)
    • cortex/pkg/alertmanager/alertmanager.go
    • Line 287: warning: exported method Alertmanager.WaitInitialStateSync should have comment or be unexported (golint)
    • Line 419: warning: exported method Alertmanager.StopAndWait should have comment or be unexported (golint)
    • Line 532: warning: exported method NilPeer.Name should have comment or be unexported (golint)
    • Line 533: warning: exported method NilPeer.Status should have comment or be unexported (golint)
    • Line 534: warning: exported method NilPeer.Peers should have comment or be unexported (golint)
    • Line 535: warning: exported method NilPeer.Position should have comment or be unexported (golint)
    • Line 536: warning: exported method NilPeer.WaitReady should have comment or be unexported (golint)
    • Line 537: warning: exported method NilPeer.AddState should have comment or be unexported (golint)
    • Line 541: warning: exported type NilChannel should have comment or be unexported (golint)
    • Line 543: warning: exported method NilChannel.Broadcast should have comment or be unexported (golint)
    • cortex/pkg/storage/tsdb/tenant_deletion_mark.go
    • Line 18: warning: comment on exported const TenantDeletionMarkPath should be of the form "TenantDeletionMarkPath ..." (golint)
    • Line 21: warning: exported type TenantDeletionMark should have comment or be unexported (golint)
    • Line 29: warning: exported function NewTenantDeletionMark should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function TenantDeletionMarkExists should be of the form "TenantDeletionMarkExists ..." (golint)
    • Line 40: warning: comment on exported function WriteTenantDeletionMark should be of the form "WriteTenantDeletionMark ..." (golint)
    • Line 52: warning: comment on exported function ReadTenantDeletionMark should be of the form "ReadTenantDeletionMark ..." (golint)
    • cortex/pkg/ruler/lifecycle.go
    • Line 7: warning: exported method Ruler.OnRingInstanceRegister should have comment or be unexported (golint)
    • Line 25: warning: exported method Ruler.OnRingInstanceTokens should have comment or be unexported (golint)
    • Line 26: warning: exported method Ruler.OnRingInstanceStopping should have comment or be unexported (golint)
    • Line 27: warning: exported method Ruler.OnRingInstanceHeartbeat should have comment or be unexported (golint)
    • cortex/pkg/util/shard.go
    • Line 10: warning: comment on exported const ShardingStrategyDefault should be of the form "ShardingStrategyDefault ..." (golint)
    • Line 12: warning: exported const ShardingStrategyShuffle should have comment (or a comment on this block) or be unexported (golint)
    • cortex/pkg/util/services/basic_service.go
    • Line 80: warning: comment on exported function NewBasicService should be of the form "NewBasicService ..." (golint)
    • Line 107: warning: exported method BasicService.ServiceName should have comment or be unexported (golint)
    • Line 249: warning: comment on exported method BasicService.ServiceContext should be of the form "ServiceContext ..." (golint)
    • cortex/pkg/storage/bucket/s3/config.go
    • Line 20: warning: exported const SignatureVersionV4 should have comment (or a comment on this block) or be unexported (golint)
    • Line 120: warning: exported method SSEConfig.RegisterFlags should have comment or be unexported (golint)
    • Line 131: warning: exported method SSEConfig.Validate should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (signal: killed)


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!