Preparing report...

Report for github.com/boxgo/box

A+    Excellent!    Found 103 issues across 172 files

Tweet

gofmt99%

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


go_vet100%

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

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint41%

Golint is a linter for Go source code.

    • box/pkg/client/wukong/encoder.go
    • Line 9: warning: exported type Encoder should have comment or be unexported (golint)
    • Line 15: warning: exported type JSONEncoder should have comment or be unexported (golint)
    • Line 16: warning: exported type XMLEncoder should have comment or be unexported (golint)
    • Line 20: warning: exported const MimeTypeJSON should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported function Decode should have comment or be unexported (golint)
    • Line 52: warning: exported function Encode should have comment or be unexported (golint)
    • Line 66: warning: exported method JSONEncoder.MimeType should have comment or be unexported (golint)
    • Line 70: warning: exported method JSONEncoder.Decode should have comment or be unexported (golint)
    • Line 74: warning: exported method JSONEncoder.Encode should have comment or be unexported (golint)
    • Line 78: warning: exported method XMLEncoder.MimeType should have comment or be unexported (golint)
    • Line 82: warning: exported method XMLEncoder.Decode should have comment or be unexported (golint)
    • Line 86: warning: exported method XMLEncoder.Encode should have comment or be unexported (golint)
    • box/pkg/client/rabbitmq/alias.go
    • Line 8: warning: exported type Channel should have comment or be unexported (golint)
    • Line 9: warning: exported type Delivery should have comment or be unexported (golint)
    • Line 10: warning: exported type Publishing should have comment or be unexported (golint)
    • Line 14: warning: exported const ContentTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported const ExchangeDirect should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported const Transient should have comment (or a comment on this block) or be unexported (golint)
    • box/pkg/client/kafka/config.go
    • Line 26: warning: exported type Net should have comment or be unexported (golint)
    • Line 34: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 43: warning: exported type ProducerConfig should have comment or be unexported (golint)
    • Line 63: warning: exported type ConsumerConfig should have comment or be unexported (golint)
    • box/pkg/locker/locker.go
    • Line 12: warning: exported type MutexLocker should have comment or be unexported (golint)
    • Line 19: warning: exported function UnifiedKey should have comment or be unexported (golint)
    • box/pkg/server/grpcserver/grpcserver.go
    • Line 12: warning: exported type Server should have comment or be unexported (golint)
    • Line 37: warning: exported method Server.Name should have comment or be unexported (golint)
    • Line 41: warning: exported method Server.Serve should have comment or be unexported (golint)
    • Line 55: warning: exported method Server.Shutdown should have comment or be unexported (golint)
    • Line 61: warning: exported method Server.RawServer should have comment or be unexported (golint)
    • box/pkg/cache/rediscache/config.go
    • Line 10: warning: exported type Config should have comment or be unexported (golint)
    • Line 18: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 28: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 40: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/util/urlutil/util.go
    • Line 11: warning: exported function UrlJoin should have comment or be unexported (golint)
    • Line 22: warning: exported function UrlFormat should have comment or be unexported (golint)
    • box/pkg/client/rabbitmq/rabbitmq.go
    • Line 12: warning: exported type RabbitMQ should have comment or be unexported (golint)
    • Line 35: warning: exported method RabbitMQ.Serve should have comment or be unexported (golint)
    • Line 39: warning: exported method RabbitMQ.Shutdown should have comment or be unexported (golint)
    • Line 47: warning: exported method RabbitMQ.Channel should have comment or be unexported (golint)
    • box/pkg/cache/cache.go
    • Line 13: warning: exported type Cache should have comment or be unexported (golint)
    • Line 20: warning: exported var ErrCacheMiss should have comment or be unexported (golint)
    • Line 23: warning: exported function UnifiedKey should have comment or be unexported (golint)
    • box/pkg/client/mongodb/mongo.go
    • Line 15: warning: exported type Mongo should have comment or be unexported (golint)
    • Line 21: warning: exported type Monitor should have comment or be unexported (golint)
    • Line 71: warning: exported method Mongo.Name should have comment or be unexported (golint)
    • Line 75: warning: exported method Mongo.Serve should have comment or be unexported (golint)
    • Line 87: warning: exported method Mongo.Shutdown should have comment or be unexported (golint)
    • Line 95: warning: exported method Mongo.Client should have comment or be unexported (golint)
    • Line 99: warning: exported method Mongo.DB should have comment or be unexported (golint)
    • box/pkg/errcode/unified.go
    • Line 7: warning: comment on exported var ModSystem should be of the form "ModSystem ..." (golint)
    • Line 10: warning: comment on exported var ModConfig should be of the form "ModConfig ..." (golint)
    • Line 13: warning: comment on exported var ModRPC should be of the form "ModRPC ..." (golint)
    • Line 16: warning: comment on exported var ModSchedule should be of the form "ModSchedule ..." (golint)
    • Line 19: warning: comment on exported var ModDB should be of the form "ModDB ..." (golint)
    • Line 21: warning: exported var ModMongoDB should have comment or be unexported (golint)
    • Line 27: warning: comment on exported var ModMQ should be of the form "ModMQ ..." (golint)
    • Line 33: warning: comment on exported var ErrUser should be of the form "ErrUser ..." (golint)
    • Line 38: warning: exported var ErrGRPCServerPanic should have comment or be unexported (golint)
    • box/pkg/client/gopg/debug.go
    • Line 22: warning: exported method DebugHook.BeforeQuery should have comment or be unexported (golint)
    • Line 37: warning: exported method DebugHook.AfterQuery should have comment or be unexported (golint)
    • box/pkg/client/wukong/response.go
    • Line 13: warning: exported type Response should have comment or be unexported (golint)
    • Line 22: warning: exported function NewResponse should have comment or be unexported (golint)
    • Line 48: warning: exported method Response.IgnoreEncodeErr should have comment or be unexported (golint)
    • Line 58: warning: exported method Response.BindError should have comment or be unexported (golint)
    • Line 66: warning: exported method Response.Bytes should have comment or be unexported (golint)
    • Line 70: warning: exported method Response.BindBytes should have comment or be unexported (golint)
    • Line 78: warning: exported method Response.StatusCode should have comment or be unexported (golint)
    • Line 86: warning: exported method Response.BindStatusCode should have comment or be unexported (golint)
    • Line 94: warning: exported method Response.Status should have comment or be unexported (golint)
    • Line 102: warning: exported method Response.BindStatus should have comment or be unexported (golint)
    • Line 110: warning: exported method Response.Header should have comment or be unexported (golint)
    • Line 118: warning: exported method Response.BindHeader should have comment or be unexported (golint)
    • Line 126: warning: exported method Response.IsTimeout should have comment or be unexported (golint)
    • Line 139: warning: exported method Response.BindIsTimeout should have comment or be unexported (golint)
    • Line 147: warning: exported method Response.IsCancel should have comment or be unexported (golint)
    • Line 159: warning: exported method Response.BindIsCancel should have comment or be unexported (golint)
    • Line 167: warning: exported method Response.Body should have comment or be unexported (golint)
    • Line 175: warning: exported method Response.BindBody should have comment or be unexported (golint)
    • Line 188: warning: exported method Response.ConditionBindBody should have comment or be unexported (golint)
    • Line 213: 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)
    • box/pkg/client/mongodb/default.go
    • Line 9: warning: exported var Default should have comment or be unexported (golint)
    • Line 12: warning: exported function Client should have comment or be unexported (golint)
    • Line 16: warning: exported function DB should have comment or be unexported (golint)
    • box/pkg/config/source/mongodb/options.go
    • Line 24: warning: exported function WithConfig should have comment or be unexported (golint)
    • Line 38: warning: exported function WithURI should have comment or be unexported (golint)
    • Line 48: warning: exported function WithDB should have comment or be unexported (golint)
    • Line 58: warning: exported function WithCollection should have comment or be unexported (golint)
    • Line 68: warning: exported function WithService should have comment or be unexported (golint)
    • box/box.go
    • Line 17: warning: exported type Application should have comment or be unexported (golint)
    • Line 21: warning: exported type Box should have comment or be unexported (golint)
    • box/pkg/client/redis/alias.go
    • Line 8: warning: exported const Nil should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported var ErrClosed should have comment or be unexported (golint)
    • box/pkg/config/reader/options.go
    • Line 11: warning: exported type Options should have comment or be unexported (golint)
    • Line 15: warning: exported type Option should have comment or be unexported (golint)
    • Line 17: warning: exported function NewOptions should have comment or be unexported (golint)
    • Line 33: warning: exported function WithEncoder should have comment or be unexported (golint)
    • box/pkg/schedule/schedule.go
    • Line 26: warning: exported type Handler should have comment or be unexported (golint)
    • Line 65: warning: exported method Schedule.Name should have comment or be unexported (golint)
    • box/pkg/util/ctxutil/ctxutil.go
    • Line 8: warning: exported function WithCancel should have comment or be unexported (golint)
    • Line 12: warning: exported function WithDeadline should have comment or be unexported (golint)
    • Line 16: warning: exported function WithTimeout should have comment or be unexported (golint)
    • box/pkg/server/ginserver/config.go
    • Line 12: warning: exported type Config should have comment or be unexported (golint)
    • Line 23: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 33: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 53: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 57: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/client/grpcclient/grpcclient.go
    • Line 11: warning: exported type Client should have comment or be unexported (golint)
    • Line 44: warning: exported method Client.Name should have comment or be unexported (golint)
    • Line 48: warning: exported method Client.Serve should have comment or be unexported (golint)
    • Line 51: 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)
    • Line 58: warning: exported method Client.Shutdown should have comment or be unexported (golint)
    • Line 66: warning: exported method Client.Conn should have comment or be unexported (golint)
    • box/pkg/client/redis/default.go
    • Line 11: warning: exported var Default should have comment or be unexported (golint)
    • Line 14: warning: exported function NewScript should have comment or be unexported (golint)
    • Line 18: warning: exported function Client should have comment or be unexported (golint)
    • Line 22: warning: exported function Set should have comment or be unexported (golint)
    • Line 26: warning: exported function SetEX should have comment or be unexported (golint)
    • Line 30: warning: exported function SetNX should have comment or be unexported (golint)
    • Line 34: warning: exported function SetXX should have comment or be unexported (golint)
    • Line 38: warning: exported function Get should have comment or be unexported (golint)
    • Line 42: warning: exported function MGet should have comment or be unexported (golint)
    • Line 46: warning: exported function MSet should have comment or be unexported (golint)
    • Line 50: warning: exported function MSetNX should have comment or be unexported (golint)
    • Line 54: warning: exported function Del should have comment or be unexported (golint)
    • Line 58: warning: exported function Exists should have comment or be unexported (golint)
    • Line 62: warning: exported function Decr should have comment or be unexported (golint)
    • Line 66: warning: exported function DecrBy should have comment or be unexported (golint)
    • Line 70: warning: exported function Incr should have comment or be unexported (golint)
    • Line 74: warning: exported function IncrBy should have comment or be unexported (golint)
    • Line 78: warning: exported function IncrByFloat should have comment or be unexported (golint)
    • Line 82: warning: exported function Expire should have comment or be unexported (golint)
    • Line 86: warning: exported function ExpireAt should have comment or be unexported (golint)
    • Line 90: warning: exported function PExpire should have comment or be unexported (golint)
    • Line 94: warning: exported function PExpireAt should have comment or be unexported (golint)
    • Line 98: warning: exported function TTL should have comment or be unexported (golint)
    • Line 102: warning: exported function PTTL should have comment or be unexported (golint)
    • Line 106: warning: exported function HDel should have comment or be unexported (golint)
    • Line 110: warning: exported function HExists should have comment or be unexported (golint)
    • Line 114: warning: exported function HGet should have comment or be unexported (golint)
    • Line 118: warning: exported function HGetAll should have comment or be unexported (golint)
    • Line 122: warning: exported function HIncrBy should have comment or be unexported (golint)
    • Line 126: warning: exported function HIncrByFloat should have comment or be unexported (golint)
    • Line 130: warning: exported function HKeys should have comment or be unexported (golint)
    • Line 134: warning: exported function HLen should have comment or be unexported (golint)
    • Line 138: warning: exported function HMGet should have comment or be unexported (golint)
    • Line 142: warning: exported function HSet should have comment or be unexported (golint)
    • Line 146: warning: exported function HMSet should have comment or be unexported (golint)
    • Line 150: warning: exported function HSetNX should have comment or be unexported (golint)
    • Line 154: warning: exported function HVals should have comment or be unexported (golint)
    • Line 158: warning: exported function SCard should have comment or be unexported (golint)
    • Line 162: warning: exported function SDiff should have comment or be unexported (golint)
    • Line 166: warning: exported function SDiffStore should have comment or be unexported (golint)
    • Line 170: warning: exported function SInter should have comment or be unexported (golint)
    • Line 174: warning: exported function SInterStore should have comment or be unexported (golint)
    • Line 178: warning: exported function SIsMember should have comment or be unexported (golint)
    • Line 182: warning: exported function SMembers should have comment or be unexported (golint)
    • Line 186: warning: exported function SMembersMap should have comment or be unexported (golint)
    • Line 190: warning: exported function SMove should have comment or be unexported (golint)
    • Line 194: warning: exported function SPop should have comment or be unexported (golint)
    • Line 198: warning: exported function SPopN should have comment or be unexported (golint)
    • Line 202: warning: exported function SRandMember should have comment or be unexported (golint)
    • Line 206: warning: exported function SRandMemberN should have comment or be unexported (golint)
    • Line 210: warning: exported function SRem should have comment or be unexported (golint)
    • Line 214: warning: exported function SUnion should have comment or be unexported (golint)
    • Line 218: warning: exported function SUnionStore should have comment or be unexported (golint)
    • Line 222: warning: exported function ZAdd should have comment or be unexported (golint)
    • Line 226: warning: exported function ZAddNX should have comment or be unexported (golint)
    • Line 230: warning: exported function ZAddXX should have comment or be unexported (golint)
    • Line 234: warning: exported function ZAddCh should have comment or be unexported (golint)
    • Line 238: warning: exported function ZAddNXCh should have comment or be unexported (golint)
    • Line 242: warning: exported function ZAddXXCh should have comment or be unexported (golint)
    • Line 246: warning: exported function ZIncr should have comment or be unexported (golint)
    • Line 250: warning: exported function ZIncrNX should have comment or be unexported (golint)
    • Line 254: warning: exported function ZIncrXX should have comment or be unexported (golint)
    • Line 258: warning: exported function ZCard should have comment or be unexported (golint)
    • Line 262: warning: exported function ZCount should have comment or be unexported (golint)
    • Line 266: warning: exported function ZLexCount should have comment or be unexported (golint)
    • Line 270: warning: exported function ZIncrBy should have comment or be unexported (golint)
    • Line 274: warning: exported function ZInterStore should have comment or be unexported (golint)
    • Line 278: warning: exported function ZPopMax should have comment or be unexported (golint)
    • Line 282: warning: exported function ZPopMin should have comment or be unexported (golint)
    • Line 286: warning: exported function ZRange should have comment or be unexported (golint)
    • Line 290: warning: exported function ZRangeWithScores should have comment or be unexported (golint)
    • Line 294: warning: exported function ZRangeByScore should have comment or be unexported (golint)
    • Line 298: warning: exported function ZRangeByLex should have comment or be unexported (golint)
    • Line 302: warning: exported function ZRangeByScoreWithScores should have comment or be unexported (golint)
    • Line 306: warning: exported function ZRank should have comment or be unexported (golint)
    • Line 310: warning: exported function ZRem should have comment or be unexported (golint)
    • Line 314: warning: exported function ZRemRangeByRank should have comment or be unexported (golint)
    • Line 318: warning: exported function ZRemRangeByScore should have comment or be unexported (golint)
    • Line 322: warning: exported function ZRemRangeByLex should have comment or be unexported (golint)
    • Line 326: warning: exported function ZRevRange should have comment or be unexported (golint)
    • Line 330: warning: exported function ZRevRangeWithScores should have comment or be unexported (golint)
    • Line 334: warning: exported function ZRevRangeByScore should have comment or be unexported (golint)
    • Line 338: warning: exported function ZRevRangeByLex should have comment or be unexported (golint)
    • Line 342: warning: exported function ZRevRangeByScoreWithScores should have comment or be unexported (golint)
    • Line 346: warning: exported function ZRevRank should have comment or be unexported (golint)
    • Line 350: warning: exported function ZScore should have comment or be unexported (golint)
    • Line 354: warning: exported function ZUnionStore should have comment or be unexported (golint)
    • box/pkg/locker/redislocker/default.go
    • Line 9: warning: exported var Default should have comment or be unexported (golint)
    • Line 12: warning: exported function Lock should have comment or be unexported (golint)
    • Line 16: warning: exported function IsLocked should have comment or be unexported (golint)
    • Line 20: warning: exported function UnLock should have comment or be unexported (golint)
    • box/pkg/server/grpcserver/config.go
    • Line 10: warning: exported type Config should have comment or be unexported (golint)
    • Line 20: warning: exported type OptionFunc should have comment or be unexported (golint)
    • Line 23: warning: exported function WithServerOption should have comment or be unexported (golint)
    • Line 29: warning: exported function WithUnaryServerInterceptor should have comment or be unexported (golint)
    • Line 35: warning: exported function WithStreamServerInterceptor should have comment or be unexported (golint)
    • Line 41: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 55: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 64: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 68: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/metric/alias.go
    • Line 8: warning: exported type CounterVec should have comment or be unexported (golint)
    • Line 9: warning: exported type SummaryVec should have comment or be unexported (golint)
    • Line 10: warning: exported type GaugeVec should have comment or be unexported (golint)
    • Line 11: warning: exported type HistogramVec should have comment or be unexported (golint)
    • box/pkg/util/fputil/fputil.go
    • Line 9: warning: exported function GetFilename should have comment or be unexported (golint)
    • Line 15: warning: exported function FirstExistFilePath should have comment or be unexported (golint)
    • box/pkg/client/kafka/alias.go
    • Line 8: warning: exported type AbortedTransaction should have comment or be unexported (golint)
    • Line 9: warning: exported type AccessToken should have comment or be unexported (golint)
    • Line 10: warning: exported type AccessTokenProvider should have comment or be unexported (golint)
    • Line 11: warning: exported type Acl should have comment or be unexported (golint)
    • Line 12: warning: exported type AclCreation should have comment or be unexported (golint)
    • Line 13: warning: exported type AclCreationResponse should have comment or be unexported (golint)
    • Line 14: warning: exported type AclFilter should have comment or be unexported (golint)
    • Line 15: warning: exported type AclOperation should have comment or be unexported (golint)
    • Line 16: warning: exported type AclPermissionType should have comment or be unexported (golint)
    • Line 17: warning: exported type AclResourcePatternType should have comment or be unexported (golint)
    • Line 18: warning: exported type AclResourceType should have comment or be unexported (golint)
    • Line 19: warning: exported type AddOffsetsToTxnRequest should have comment or be unexported (golint)
    • Line 20: warning: exported type AddOffsetsToTxnResponse should have comment or be unexported (golint)
    • Line 21: warning: exported type AddPartitionsToTxnRequest should have comment or be unexported (golint)
    • Line 22: warning: exported type AddPartitionsToTxnResponse should have comment or be unexported (golint)
    • Line 23: warning: exported type AlterConfigsRequest should have comment or be unexported (golint)
    • Line 24: warning: exported type AlterConfigsResource should have comment or be unexported (golint)
    • Line 25: warning: exported type AlterConfigsResourceResponse should have comment or be unexported (golint)
    • Line 26: warning: exported type AlterConfigsResponse should have comment or be unexported (golint)
    • Line 27: warning: exported type AlterPartitionReassignmentsRequest should have comment or be unexported (golint)
    • Line 28: warning: exported type AlterPartitionReassignmentsResponse should have comment or be unexported (golint)
    • Line 29: warning: exported type ApiVersionsRequest should have comment or be unexported (golint)
    • Line 30: warning: exported type ApiVersionsResponse should have comment or be unexported (golint)
    • Line 31: warning: exported type ApiVersionsResponseBlock should have comment or be unexported (golint)
    • Line 32: warning: exported type AsyncProducer should have comment or be unexported (golint)
    • Line 33: warning: exported type BalanceStrategy should have comment or be unexported (golint)
    • Line 34: warning: exported type BalanceStrategyPlan should have comment or be unexported (golint)
    • Line 35: warning: exported type Broker should have comment or be unexported (golint)
    • Line 36: warning: exported type ByteEncoder should have comment or be unexported (golint)
    • Line 37: warning: exported type Client should have comment or be unexported (golint)
    • Line 38: warning: exported type ClusterAdmin should have comment or be unexported (golint)
    • Line 39: warning: exported type CompressionCodec should have comment or be unexported (golint)
    • Line 40: warning: exported type ConfigKafka should have comment or be unexported (golint)
    • Line 41: warning: exported type ConfigEntry should have comment or be unexported (golint)
    • Line 42: warning: exported type ConfigResource should have comment or be unexported (golint)
    • Line 43: warning: exported type ConfigResourceType should have comment or be unexported (golint)
    • Line 44: warning: exported type ConfigSource should have comment or be unexported (golint)
    • Line 45: warning: exported type ConfigSynonym should have comment or be unexported (golint)
    • Line 46: warning: exported type ConfigurationError should have comment or be unexported (golint)
    • Line 47: warning: exported type Consumer should have comment or be unexported (golint)
    • Line 48: warning: exported type ConsumerError should have comment or be unexported (golint)
    • Line 49: warning: exported type ConsumerErrors should have comment or be unexported (golint)
    • Line 50: warning: exported type ConsumerGroup should have comment or be unexported (golint)
    • Line 51: warning: exported type ConsumerGroupClaim should have comment or be unexported (golint)
    • Line 52: warning: exported type ConsumerGroupHandler should have comment or be unexported (golint)
    • Line 53: warning: exported type ConsumerGroupMemberAssignment should have comment or be unexported (golint)
    • Line 54: warning: exported type ConsumerGroupMemberMetadata should have comment or be unexported (golint)
    • Line 55: warning: exported type ConsumerGroupSession should have comment or be unexported (golint)
    • Line 56: warning: exported type ConsumerInterceptor should have comment or be unexported (golint)
    • Line 57: warning: exported type ConsumerMessage should have comment or be unexported (golint)
    • Line 58: warning: exported type ConsumerMetadataRequest should have comment or be unexported (golint)
    • Line 59: warning: exported type ConsumerMetadataResponse should have comment or be unexported (golint)
    • Line 60: warning: exported type ControlRecord should have comment or be unexported (golint)
    • Line 61: warning: exported type ControlRecordType should have comment or be unexported (golint)
    • Line 62: warning: exported type CoordinatorType should have comment or be unexported (golint)
    • Line 63: warning: exported type CreateAclsRequest should have comment or be unexported (golint)
    • Line 64: warning: exported type CreateAclsResponse should have comment or be unexported (golint)
    • Line 65: warning: exported type CreatePartitionsRequest should have comment or be unexported (golint)
    • Line 66: warning: exported type CreatePartitionsResponse should have comment or be unexported (golint)
    • Line 67: warning: exported type CreateTopicsRequest should have comment or be unexported (golint)
    • Line 68: warning: exported type CreateTopicsResponse should have comment or be unexported (golint)
    • Line 69: warning: exported type DeleteAclsRequest should have comment or be unexported (golint)
    • Line 70: warning: exported type DeleteAclsResponse should have comment or be unexported (golint)
    • Line 71: warning: exported type DeleteGroupsRequest should have comment or be unexported (golint)
    • Line 72: warning: exported type DeleteGroupsResponse should have comment or be unexported (golint)
    • Line 73: warning: exported type DeleteRecordsRequest should have comment or be unexported (golint)
    • Line 74: warning: exported type DeleteRecordsRequestTopic should have comment or be unexported (golint)
    • Line 75: warning: exported type DeleteRecordsResponse should have comment or be unexported (golint)
    • Line 76: warning: exported type DeleteRecordsResponsePartition should have comment or be unexported (golint)
    • Line 77: warning: exported type DeleteRecordsResponseTopic should have comment or be unexported (golint)
    • Line 78: warning: exported type DeleteTopicsRequest should have comment or be unexported (golint)
    • Line 79: warning: exported type DeleteTopicsResponse should have comment or be unexported (golint)
    • Line 80: warning: exported type DescribeAclsRequest should have comment or be unexported (golint)
    • Line 81: warning: exported type DescribeAclsResponse should have comment or be unexported (golint)
    • Line 82: warning: exported type DescribeConfigsRequest should have comment or be unexported (golint)
    • Line 83: warning: exported type DescribeConfigsResponse should have comment or be unexported (golint)
    • Line 84: warning: exported type DescribeGroupsRequest should have comment or be unexported (golint)
    • Line 85: warning: exported type DescribeGroupsResponse should have comment or be unexported (golint)
    • Line 86: warning: exported type DescribeLogDirsRequest should have comment or be unexported (golint)
    • Line 87: warning: exported type DescribeLogDirsRequestTopic should have comment or be unexported (golint)
    • Line 88: warning: exported type DescribeLogDirsResponse should have comment or be unexported (golint)
    • Line 89: warning: exported type DescribeLogDirsResponseDirMetadata should have comment or be unexported (golint)
    • Line 90: warning: exported type DescribeLogDirsResponsePartition should have comment or be unexported (golint)
    • Line 91: warning: exported type DescribeLogDirsResponseTopic should have comment or be unexported (golint)
    • Line 92: warning: exported type DynamicConsistencyPartitioner should have comment or be unexported (golint)
    • Line 93: warning: exported type Encoder should have comment or be unexported (golint)
    • Line 94: warning: exported type EndTxnRequest should have comment or be unexported (golint)
    • Line 95: warning: exported type EndTxnResponse should have comment or be unexported (golint)
    • Line 96: warning: exported type ErrDeleteRecords should have comment or be unexported (golint)
    • Line 97: warning: exported type ErrReassignPartitions should have comment or be unexported (golint)
    • Line 98: warning: exported type FetchRequest should have comment or be unexported (golint)
    • Line 99: warning: exported type FetchResponse should have comment or be unexported (golint)
    • Line 100: warning: exported type FetchResponseBlock should have comment or be unexported (golint)
    • Line 101: warning: exported type FilterResponse should have comment or be unexported (golint)
    • Line 102: warning: exported type FindCoordinatorRequest should have comment or be unexported (golint)
    • Line 103: warning: exported type FindCoordinatorResponse should have comment or be unexported (golint)
    • Line 104: warning: exported type GSSAPIConfig should have comment or be unexported (golint)
    • Line 105: warning: exported type GSSAPIKerberosAuth should have comment or be unexported (golint)
    • Line 106: warning: exported type GSSApiHandlerFunc should have comment or be unexported (golint)
    • Line 107: warning: exported type GroupDescription should have comment or be unexported (golint)
    • Line 108: warning: exported type GroupMemberDescription should have comment or be unexported (golint)
    • Line 109: warning: exported type GroupProtocol should have comment or be unexported (golint)
    • Line 110: warning: exported type HashPartitionerOption should have comment or be unexported (golint)
    • Line 111: warning: exported type HeartbeatRequest should have comment or be unexported (golint)
    • Line 112: warning: exported type HeartbeatResponse should have comment or be unexported (golint)
    • Line 113: warning: exported type InitProducerIDRequest should have comment or be unexported (golint)
    • Line 114: warning: exported type InitProducerIDResponse should have comment or be unexported (golint)
    • Line 115: warning: exported type IsolationLevel should have comment or be unexported (golint)
    • Line 116: warning: exported type JoinGroupRequest should have comment or be unexported (golint)
    • Line 117: warning: exported type JoinGroupResponse should have comment or be unexported (golint)
    • Line 118: warning: exported type KError should have comment or be unexported (golint)
    • Line 119: warning: exported type KafkaGSSAPIHandler should have comment or be unexported (golint)
    • Line 120: warning: exported type KafkaVersion should have comment or be unexported (golint)
    • Line 121: warning: exported type KerberosClient should have comment or be unexported (golint)
    • Line 122: warning: exported type KerberosGoKrb5Client should have comment or be unexported (golint)
    • Line 123: warning: exported type LeaveGroupRequest should have comment or be unexported (golint)
    • Line 124: warning: exported type LeaveGroupResponse should have comment or be unexported (golint)
    • Line 125: warning: exported type ListGroupsRequest should have comment or be unexported (golint)
    • Line 126: warning: exported type ListGroupsResponse should have comment or be unexported (golint)
    • Line 127: warning: exported type ListPartitionReassignmentsRequest should have comment or be unexported (golint)
    • Line 128: warning: exported type ListPartitionReassignmentsResponse should have comment or be unexported (golint)
    • Line 129: warning: exported type MatchingAcl should have comment or be unexported (golint)
    • Line 130: warning: exported type Message should have comment or be unexported (golint)
    • Line 131: warning: exported type MessageBlock should have comment or be unexported (golint)
    • Line 132: warning: exported type MessageSet should have comment or be unexported (golint)
    • Line 133: warning: exported type MetadataRequest should have comment or be unexported (golint)
    • Line 134: warning: exported type MetadataResponse should have comment or be unexported (golint)
    • Line 135: warning: exported type MockAlterConfigsResponse should have comment or be unexported (golint)
    • Line 136: warning: exported type MockAlterConfigsResponseWithErrorCode should have comment or be unexported (golint)
    • Line 137: warning: exported type MockAlterPartitionReassignmentsResponse should have comment or be unexported (golint)
    • Line 138: warning: exported type MockBroker should have comment or be unexported (golint)
    • Line 139: warning: exported type MockConsumerMetadataResponse should have comment or be unexported (golint)
    • Line 140: warning: exported type MockCreateAclsResponse should have comment or be unexported (golint)
    • Line 141: warning: exported type MockCreatePartitionsResponse should have comment or be unexported (golint)
    • Line 142: warning: exported type MockCreateTopicsResponse should have comment or be unexported (golint)
    • Line 143: warning: exported type MockDeleteAclsResponse should have comment or be unexported (golint)
    • Line 144: warning: exported type MockDeleteGroupsResponse should have comment or be unexported (golint)
    • Line 145: warning: exported type MockDeleteRecordsResponse should have comment or be unexported (golint)
    • Line 146: warning: exported type MockDeleteTopicsResponse should have comment or be unexported (golint)
    • Line 147: warning: exported type MockDescribeConfigsResponse should have comment or be unexported (golint)
    • Line 148: warning: exported type MockDescribeConfigsResponseWithErrorCode should have comment or be unexported (golint)
    • Line 149: warning: exported type MockDescribeGroupsResponse should have comment or be unexported (golint)
    • Line 150: warning: exported type MockDescribeLogDirsResponse should have comment or be unexported (golint)
    • Line 151: warning: exported type MockFetchResponse should have comment or be unexported (golint)
    • Line 152: warning: exported type MockFindCoordinatorResponse should have comment or be unexported (golint)
    • Line 153: warning: exported type MockHeartbeatResponse should have comment or be unexported (golint)
    • Line 154: warning: exported type MockJoinGroupResponse should have comment or be unexported (golint)
    • Line 155: warning: exported type MockKerberosClient should have comment or be unexported (golint)
    • Line 156: warning: exported type MockLeaveGroupResponse should have comment or be unexported (golint)
    • Line 157: warning: exported type MockListAclsResponse should have comment or be unexported (golint)
    • Line 158: warning: exported type MockListGroupsResponse should have comment or be unexported (golint)
    • Line 159: warning: exported type MockListPartitionReassignmentsResponse should have comment or be unexported (golint)
    • Line 160: warning: exported type MockMetadataResponse should have comment or be unexported (golint)
    • Line 161: warning: exported type MockOffsetCommitResponse should have comment or be unexported (golint)
    • Line 162: warning: exported type MockOffsetFetchResponse should have comment or be unexported (golint)
    • Line 163: warning: exported type MockOffsetResponse should have comment or be unexported (golint)
    • Line 164: warning: exported type MockProduceResponse should have comment or be unexported (golint)
    • Line 165: warning: exported type MockResponse should have comment or be unexported (golint)
    • Line 166: warning: exported type MockSaslAuthenticateResponse should have comment or be unexported (golint)
    • Line 167: warning: exported type MockSaslHandshakeResponse should have comment or be unexported (golint)
    • Line 168: warning: exported type MockSequence should have comment or be unexported (golint)
    • Line 169: warning: exported type MockSyncGroupResponse should have comment or be unexported (golint)
    • Line 170: warning: exported type MockWrapper should have comment or be unexported (golint)
    • Line 171: warning: exported type MultiError should have comment or be unexported (golint)
    • Line 172: warning: exported type OffsetCommitRequest should have comment or be unexported (golint)
    • Line 173: warning: exported type OffsetCommitResponse should have comment or be unexported (golint)
    • Line 174: warning: exported type OffsetFetchRequest should have comment or be unexported (golint)
    • Line 175: warning: exported type OffsetFetchResponse should have comment or be unexported (golint)
    • Line 176: warning: exported type OffsetFetchResponseBlock should have comment or be unexported (golint)
    • Line 177: warning: exported type OffsetManager should have comment or be unexported (golint)
    • Line 178: warning: exported type OffsetRequest should have comment or be unexported (golint)
    • Line 179: warning: exported type OffsetResponse should have comment or be unexported (golint)
    • Line 180: warning: exported type OffsetResponseBlock should have comment or be unexported (golint)
    • Line 181: warning: exported type PacketDecodingError should have comment or be unexported (golint)
    • Line 182: warning: exported type PacketEncodingError should have comment or be unexported (golint)
    • Line 183: warning: exported type PartitionConsumer should have comment or be unexported (golint)
    • Line 184: warning: exported type PartitionError should have comment or be unexported (golint)
    • Line 185: warning: exported type PartitionMetadata should have comment or be unexported (golint)
    • Line 186: warning: exported type PartitionOffsetManager should have comment or be unexported (golint)
    • Line 187: warning: exported type PartitionOffsetMetadata should have comment or be unexported (golint)
    • Line 188: warning: exported type PartitionReplicaReassignmentsStatus should have comment or be unexported (golint)
    • Line 189: warning: exported type Partitioner should have comment or be unexported (golint)
    • Line 190: warning: exported type PartitionerConstructor should have comment or be unexported (golint)
    • Line 191: warning: exported type ProduceRequest should have comment or be unexported (golint)
    • Line 192: warning: exported type ProduceResponse should have comment or be unexported (golint)
    • Line 193: warning: exported type ProduceResponseBlock should have comment or be unexported (golint)
    • Line 194: warning: exported type ProducerError should have comment or be unexported (golint)
    • Line 195: warning: exported type ProducerErrors should have comment or be unexported (golint)
    • Line 196: warning: exported type ProducerInterceptor should have comment or be unexported (golint)
    • Line 197: warning: exported type ProducerMessage should have comment or be unexported (golint)
    • Line 198: warning: exported type Record should have comment or be unexported (golint)
    • Line 199: warning: exported type RecordBatch should have comment or be unexported (golint)
    • Line 200: warning: exported type RecordHeader should have comment or be unexported (golint)
    • Line 201: warning: exported type Records should have comment or be unexported (golint)
    • Line 202: warning: exported type RequestNotifierFunc should have comment or be unexported (golint)
    • Line 203: warning: exported type RequestResponse should have comment or be unexported (golint)
    • Line 204: warning: exported type RequiredAcks should have comment or be unexported (golint)
    • Line 205: warning: exported type Resource should have comment or be unexported (golint)
    • Line 206: warning: exported type ResourceAcls should have comment or be unexported (golint)
    • Line 207: warning: exported type ResourceResponse should have comment or be unexported (golint)
    • Line 208: warning: exported type SASLMechanism should have comment or be unexported (golint)
    • Line 209: warning: exported type SCRAMClient should have comment or be unexported (golint)
    • Line 210: warning: exported type SaslAuthenticateRequest should have comment or be unexported (golint)
    • Line 211: warning: exported type SaslAuthenticateResponse should have comment or be unexported (golint)
    • Line 212: warning: exported type SaslHandshakeRequest should have comment or be unexported (golint)
    • Line 213: warning: exported type SaslHandshakeResponse should have comment or be unexported (golint)
    • Line 214: warning: exported type StdLogger should have comment or be unexported (golint)
    • Line 215: warning: exported type StickyAssignorUserData should have comment or be unexported (golint)
    • Line 216: warning: exported type StickyAssignorUserDataV0 should have comment or be unexported (golint)
    • Line 217: warning: exported type StickyAssignorUserDataV1 should have comment or be unexported (golint)
    • Line 218: warning: exported type StringEncoder should have comment or be unexported (golint)
    • Line 219: warning: exported type SyncGroupRequest should have comment or be unexported (golint)
    • Line 220: warning: exported type SyncGroupResponse should have comment or be unexported (golint)
    • Line 221: warning: exported type SyncProducer should have comment or be unexported (golint)
    • Line 222: warning: exported type TestReporter should have comment or be unexported (golint)
    • Line 223: warning: exported type Timestamp should have comment or be unexported (golint)
    • Line 224: warning: exported type TopicDetail should have comment or be unexported (golint)
    • Line 225: warning: exported type TopicError should have comment or be unexported (golint)
    • Line 226: warning: exported type TopicMetadata should have comment or be unexported (golint)
    • Line 227: warning: exported type TopicPartition should have comment or be unexported (golint)
    • Line 228: warning: exported type TopicPartitionError should have comment or be unexported (golint)
    • Line 229: warning: exported type TxnOffsetCommitRequest should have comment or be unexported (golint)
    • Line 230: warning: exported type TxnOffsetCommitResponse should have comment or be unexported (golint)
    • Line 253: warning: exported const SASLTypeGSSAPI should have comment (or a comment on this block) or be unexported (golint)
    • Line 279: warning: exported const TOK_ID_KRB_AP_REQ should have comment (or a comment on this block) or be unexported (golint)
    • box/pkg/client/mongodb/alias.go
    • Line 11: warning: exported type A should have comment or be unexported (golint)
    • Line 12: warning: exported type D should have comment or be unexported (golint)
    • Line 13: warning: exported type E should have comment or be unexported (golint)
    • Line 14: warning: exported type M should have comment or be unexported (golint)
    • Line 15: warning: exported type ObjectID should have comment or be unexported (golint)
    • Line 16: warning: exported type Binary should have comment or be unexported (golint)
    • Line 17: warning: exported type DateTime should have comment or be unexported (golint)
    • Line 18: warning: exported type Decimal128 should have comment or be unexported (golint)
    • Line 19: warning: exported type JavaScript should have comment or be unexported (golint)
    • Line 20: warning: exported type MaxKey should have comment or be unexported (golint)
    • Line 21: warning: exported type MinKey should have comment or be unexported (golint)
    • Line 22: warning: exported type Null should have comment or be unexported (golint)
    • Line 23: warning: exported type Regex should have comment or be unexported (golint)
    • Line 24: warning: exported type Symbol should have comment or be unexported (golint)
    • Line 25: warning: exported type Timestamp should have comment or be unexported (golint)
    • Line 26: warning: exported type Undefined should have comment or be unexported (golint)
    • Line 30: warning: exported type Database should have comment or be unexported (golint)
    • Line 31: warning: exported type Collection should have comment or be unexported (golint)
    • Line 32: warning: exported type Cursor should have comment or be unexported (golint)
    • Line 33: warning: exported type AggregateOptions should have comment or be unexported (golint)
    • Line 34: warning: exported type ArrayFilters should have comment or be unexported (golint)
    • Line 35: warning: exported type AutoEncryptionOptions should have comment or be unexported (golint)
    • Line 36: warning: exported type BucketOptions should have comment or be unexported (golint)
    • Line 37: warning: exported type BulkWriteOptions should have comment or be unexported (golint)
    • Line 38: warning: exported type ChangeStreamOptions should have comment or be unexported (golint)
    • Line 39: warning: exported type ClientEncryptionOptions should have comment or be unexported (golint)
    • Line 40: warning: exported type ClientOptions should have comment or be unexported (golint)
    • Line 41: warning: exported type Collation should have comment or be unexported (golint)
    • Line 42: warning: exported type CollectionOptions should have comment or be unexported (golint)
    • Line 43: warning: exported type ContextDialer should have comment or be unexported (golint)
    • Line 44: warning: exported type CountOptions should have comment or be unexported (golint)
    • Line 45: warning: exported type CreateCollectionOptions should have comment or be unexported (golint)
    • Line 46: warning: exported type CreateIndexesOptions should have comment or be unexported (golint)
    • Line 47: warning: exported type CreateViewOptions should have comment or be unexported (golint)
    • Line 48: warning: exported type Credential should have comment or be unexported (golint)
    • Line 49: warning: exported type CursorType should have comment or be unexported (golint)
    • Line 50: warning: exported type DataKeyOptions should have comment or be unexported (golint)
    • Line 51: warning: exported type DatabaseOptions should have comment or be unexported (golint)
    • Line 52: warning: exported type DefaultIndexOptions should have comment or be unexported (golint)
    • Line 53: warning: exported type DeleteOptions should have comment or be unexported (golint)
    • Line 54: warning: exported type DistinctOptions should have comment or be unexported (golint)
    • Line 55: warning: exported type DropIndexesOptions should have comment or be unexported (golint)
    • Line 56: warning: exported type EncryptOptions should have comment or be unexported (golint)
    • Line 57: warning: exported type EstimatedDocumentCountOptions should have comment or be unexported (golint)
    • Line 58: warning: exported type FindOneAndDeleteOptions should have comment or be unexported (golint)
    • Line 59: warning: exported type FindOneAndReplaceOptions should have comment or be unexported (golint)
    • Line 60: warning: exported type FindOneAndUpdateOptions should have comment or be unexported (golint)
    • Line 61: warning: exported type FindOneOptions should have comment or be unexported (golint)
    • Line 62: warning: exported type FindOptions should have comment or be unexported (golint)
    • Line 63: warning: exported type FullDocument should have comment or be unexported (golint)
    • Line 64: warning: exported type GridFSFindOptions should have comment or be unexported (golint)
    • Line 65: warning: exported type IndexOptions should have comment or be unexported (golint)
    • Line 66: warning: exported type InsertManyOptions should have comment or be unexported (golint)
    • Line 67: warning: exported type InsertOneOptions should have comment or be unexported (golint)
    • Line 68: warning: exported type ListCollectionsOptions should have comment or be unexported (golint)
    • Line 69: warning: exported type ListDatabasesOptions should have comment or be unexported (golint)
    • Line 70: warning: exported type ListIndexesOptions should have comment or be unexported (golint)
    • Line 71: warning: exported type MarshalError should have comment or be unexported (golint)
    • Line 72: warning: exported type NameOptions should have comment or be unexported (golint)
    • Line 73: warning: exported type ReplaceOptions should have comment or be unexported (golint)
    • Line 74: warning: exported type ReturnDocument should have comment or be unexported (golint)
    • Line 75: warning: exported type RunCmdOptions should have comment or be unexported (golint)
    • Line 76: warning: exported type SessionOptions should have comment or be unexported (golint)
    • Line 77: warning: exported type TransactionOptions should have comment or be unexported (golint)
    • Line 78: warning: exported type UpdateOptions should have comment or be unexported (golint)
    • Line 79: warning: exported type UploadOptions should have comment or be unexported (golint)
    • Line 83: warning: exported var ErrDecodeToNil should have comment or be unexported (golint)
    • Line 104: warning: exported var CompareTimestamp should have comment or be unexported (golint)
    • box/pkg/client/gopg/alias.go
    • Line 9: warning: exported type Error should have comment or be unexported (golint)
    • Line 10: warning: exported type DB should have comment or be unexported (golint)
    • Line 11: warning: exported type PgConn should have comment or be unexported (golint)
    • Line 12: warning: exported type Tx should have comment or be unexported (golint)
    • Line 13: warning: exported type Result should have comment or be unexported (golint)
    • Line 14: warning: exported type Stmt should have comment or be unexported (golint)
    • Line 15: warning: exported type Options should have comment or be unexported (golint)
    • Line 16: warning: exported type Ident should have comment or be unexported (golint)
    • Line 17: warning: exported type Safe should have comment or be unexported (golint)
    • Line 18: warning: exported type NullTime should have comment or be unexported (golint)
    • Line 19: warning: exported type PgQuery should have comment or be unexported (golint)
    • Line 20: warning: exported type CreateTableOptions should have comment or be unexported (golint)
    • Line 21: warning: exported type CreateCompositeOptions should have comment or be unexported (golint)
    • Line 22: warning: exported type DropCompositeOptions should have comment or be unexported (golint)
    • Line 23: warning: exported type DropTableOptions should have comment or be unexported (golint)
    • Line 24: warning: exported type AfterDeleteHook should have comment or be unexported (golint)
    • Line 25: warning: exported type AfterInsertHook should have comment or be unexported (golint)
    • Line 26: warning: exported type AfterScanHook should have comment or be unexported (golint)
    • Line 27: warning: exported type AfterSelectHook should have comment or be unexported (golint)
    • Line 28: warning: exported type AfterUpdateHook should have comment or be unexported (golint)
    • Line 29: warning: exported type BeforeDeleteHook should have comment or be unexported (golint)
    • Line 30: warning: exported type BeforeInsertHook should have comment or be unexported (golint)
    • Line 31: warning: exported type BeforeScanHook should have comment or be unexported (golint)
    • Line 32: warning: exported type BeforeUpdateHook should have comment or be unexported (golint)
    • Line 36: warning: exported const PrimaryKeyFlag should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported const InvalidRelation should have comment (or a comment on this block) or be unexported (golint)
    • box/pkg/cache/rediscache/default.go
    • Line 9: warning: exported var Default should have comment or be unexported (golint)
    • Line 12: warning: exported function Get should have comment or be unexported (golint)
    • Line 16: warning: exported function Set should have comment or be unexported (golint)
    • box/pkg/client/kafka/kafka.go
    • Line 9: warning: exported type Kafka should have comment or be unexported (golint)
    • Line 29: warning: exported method Kafka.NewSyncProducer should have comment or be unexported (golint)
    • Line 33: warning: exported method Kafka.NewAsyncProducer should have comment or be unexported (golint)
    • Line 37: warning: exported method Kafka.NewConsumer should have comment or be unexported (golint)
    • Line 41: warning: exported method Kafka.NewConsumerGroup should have comment or be unexported (golint)
    • box/pkg/client/gopg/default.go
    • Line 17: warning: exported function Begin should have comment or be unexported (golint)
    • Line 21: warning: exported function BeginContext should have comment or be unexported (golint)
    • Line 25: warning: exported function Conn should have comment or be unexported (golint)
    • Line 29: warning: exported function Context should have comment or be unexported (golint)
    • Line 33: warning: exported function CopyFrom should have comment or be unexported (golint)
    • Line 37: warning: exported function CopyTo should have comment or be unexported (golint)
    • Line 41: warning: exported function Exec should have comment or be unexported (golint)
    • Line 45: warning: exported function ExecContext should have comment or be unexported (golint)
    • Line 49: warning: exported function ExecOne should have comment or be unexported (golint)
    • Line 53: warning: exported function ExecOneContext should have comment or be unexported (golint)
    • Line 57: warning: exported function Formatter should have comment or be unexported (golint)
    • Line 61: warning: exported function Listen should have comment or be unexported (golint)
    • Line 65: warning: exported function Model should have comment or be unexported (golint)
    • Line 69: warning: exported function ModelContext should have comment or be unexported (golint)
    • Line 73: warning: exported function Param should have comment or be unexported (golint)
    • Line 77: warning: exported function Ping should have comment or be unexported (golint)
    • Line 81: warning: exported function PoolStats should have comment or be unexported (golint)
    • Line 85: warning: exported function Prepare should have comment or be unexported (golint)
    • Line 89: warning: exported function Query should have comment or be unexported (golint)
    • Line 93: warning: exported function QueryContext should have comment or be unexported (golint)
    • Line 97: warning: exported function QueryOne should have comment or be unexported (golint)
    • Line 101: warning: exported function QueryOneContext should have comment or be unexported (golint)
    • Line 105: warning: exported function RunInTransaction should have comment or be unexported (golint)
    • Line 109: warning: exported function WithContext should have comment or be unexported (golint)
    • Line 113: warning: exported function WithParam should have comment or be unexported (golint)
    • Line 117: warning: exported function WithTimeout should have comment or be unexported (golint)
    • box/pkg/client/redis/redis.go
    • Line 11: warning: exported type Redis should have comment or be unexported (golint)
    • Line 37: warning: exported method Redis.Name should have comment or be unexported (golint)
    • Line 41: warning: exported method Redis.Serve should have comment or be unexported (golint)
    • Line 49: warning: exported method Redis.Shutdown should have comment or be unexported (golint)
    • Line 57: warning: exported method Redis.Client should have comment or be unexported (golint)
    • Line 61: warning: exported method Redis.NewScript should have comment or be unexported (golint)
    • box/pkg/client/wukong/wukong.go
    • Line 11: warning: exported type WuKong should have comment or be unexported (golint)
    • Line 23: warning: exported type BasicAuth should have comment or be unexported (golint)
    • Line 28: warning: exported type Before should have comment or be unexported (golint)
    • Line 29: warning: exported type After should have comment or be unexported (golint)
    • Line 32: warning: exported function New should have comment or be unexported (golint)
    • Line 47: warning: exported method WuKong.UseBefore should have comment or be unexported (golint)
    • Line 53: warning: exported method WuKong.UseAfter should have comment or be unexported (golint)
    • Line 59: warning: exported method WuKong.SetTransport should have comment or be unexported (golint)
    • Line 65: warning: exported method WuKong.SetBasicAuth should have comment or be unexported (golint)
    • Line 71: warning: exported method WuKong.SetQuery should have comment or be unexported (golint)
    • Line 77: warning: exported method WuKong.SetHeader should have comment or be unexported (golint)
    • Line 83: warning: exported method WuKong.Logger should have comment or be unexported (golint)
    • Line 89: warning: exported method WuKong.Metric should have comment or be unexported (golint)
    • Line 95: warning: exported method WuKong.Get should have comment or be unexported (golint)
    • Line 99: warning: exported method WuKong.Post should have comment or be unexported (golint)
    • Line 103: warning: exported method WuKong.Put should have comment or be unexported (golint)
    • Line 107: warning: exported method WuKong.Patch should have comment or be unexported (golint)
    • Line 111: warning: exported method WuKong.Delete should have comment or be unexported (golint)
    • Line 115: warning: exported method WuKong.Head should have comment or be unexported (golint)
    • Line 119: warning: exported method WuKong.Options should have comment or be unexported (golint)
    • Line 123: warning: exported method WuKong.Trace should have comment or be unexported (golint)
    • Line 127: warning: exported method WuKong.Timeout should have comment or be unexported (golint)
    • Line 133: warning: exported method WuKong.Client should have comment or be unexported (golint)
    • box/pkg/config/field/field.go
    • Line 10: warning: exported type Field should have comment or be unexported (golint)
    • Line 20: warning: exported method Field.Row should have comment or be unexported (golint)
    • Line 32: warning: exported method Field.Paths should have comment or be unexported (golint)
    • box/pkg/debug/config.go
    • Line 4: warning: exported type Config should have comment or be unexported (golint)
    • Line 7: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 13: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 17: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 21: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/errcode/module.go
    • Line 11: warning: exported type ModuleErrorBuilder should have comment or be unexported (golint)
    • Line 18: warning: exported var ErrModNoInvalid should have comment or be unexported (golint)
    • Line 23: warning: exported function Build should have comment or be unexported (golint)
    • Line 43: warning: exported method ModuleErrorBuilder.Build should have comment or be unexported (golint)
    • box/pkg/client/wukong/logger.go
    • Line 9: warning: exported type LoggerLevel should have comment or be unexported (golint)
    • Line 17: warning: exported const LoggerDisable should have comment (or a comment on this block) or be unexported (golint)
    • box/pkg/config/source/options.go
    • Line 10: warning: exported type Options should have comment or be unexported (golint)
    • Line 18: warning: exported type Option should have comment or be unexported (golint)
    • Line 20: warning: exported function NewOptions should have comment or be unexported (golint)
    • box/pkg/errcode/errcode.go
    • Line 11: warning: exported type ErrorCodeBuilder should have comment or be unexported (golint)
    • Line 20: warning: exported function ParseStatus should have comment or be unexported (golint)
    • Line 24: warning: exported method ErrorCodeBuilder.Build should have comment or be unexported (golint)
    • Line 27: 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)
    • Line 38: warning: exported method ErrorCodeBuilder.Code should have comment or be unexported (golint)
    • Line 42: warning: exported method ErrorCodeBuilder.Message should have comment or be unexported (golint)
    • box/pkg/server/server.go
    • Line 6: warning: comment on exported type Server should be of the form "Server ..." (with optional leading article) (golint)
    • Line 13: warning: comment on exported type Hook should be of the form "Hook ..." (with optional leading article) (golint)
    • box/pkg/pprof/config.go
    • Line 9: warning: exported type Config should have comment or be unexported (golint)
    • Line 13: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 23: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 27: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 31: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/client/grpcclient/config.go
    • Line 10: warning: exported type Config should have comment or be unexported (golint)
    • Line 19: warning: exported type OptionFunc should have comment or be unexported (golint)
    • Line 22: warning: exported function WithDialOption should have comment or be unexported (golint)
    • Line 28: warning: exported function WithUnaryClientInterceptor should have comment or be unexported (golint)
    • Line 34: warning: exported function WithStreamClientInterceptor should have comment or be unexported (golint)
    • Line 40: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 54: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 62: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 66: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/client/mongodb/config.go
    • Line 9: warning: exported type Config should have comment or be unexported (golint)
    • Line 17: warning: exported type OptionFunc should have comment or be unexported (golint)
    • Line 20: warning: exported function WithMonitor should have comment or be unexported (golint)
    • Line 26: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 39: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 48: warning: exported method Config.Build should have comment or be unexported (golint)
    • Line 52: warning: exported method Config.Path should have comment or be unexported (golint)
    • box/pkg/client/redis/config.go
    • Line 9: warning: exported type Config should have comment or be unexported (golint)
    • Line 20: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 29: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 41: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 45: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/client/redis/metric.go
    • Line 14: warning: exported type Metric should have comment or be unexported (golint)
    • Line 41: warning: exported method Metric.BeforeProcess should have comment or be unexported (golint)
    • Line 45: warning: exported method Metric.AfterProcess should have comment or be unexported (golint)
    • Line 54: warning: exported method Metric.BeforeProcessPipeline should have comment or be unexported (golint)
    • Line 58: warning: exported method Metric.AfterProcessPipeline should have comment or be unexported (golint)
    • box/pkg/config/config.go
    • Line 54: warning: exported type Source should have comment or be unexported (golint)
    • Line 114: warning: exported function Fields should have comment or be unexported (golint)
    • Line 119: warning: exported function ServiceName should have comment or be unexported (golint)
    • Line 123: warning: exported function ServiceVersion should have comment or be unexported (golint)
    • box/pkg/config/options.go
    • Line 12: warning: exported type Options should have comment or be unexported (golint)
    • Line 21: warning: exported type Option should have comment or be unexported (golint)
    • box/pkg/server/ginserver/ginserver.go
    • Line 11: warning: exported type GinServer should have comment or be unexported (golint)
    • Line 43: warning: exported method GinServer.Name should have comment or be unexported (golint)
    • Line 47: warning: exported method GinServer.Serve should have comment or be unexported (golint)
    • Line 51: warning: exported method GinServer.Shutdown should have comment or be unexported (golint)
    • Line 55: warning: exported method GinServer.Run should have comment or be unexported (golint)
    • Line 63: warning: exported method GinServer.Use should have comment or be unexported (golint)
    • Line 67: warning: exported method GinServer.Any should have comment or be unexported (golint)
    • Line 71: warning: exported method GinServer.DELETE should have comment or be unexported (golint)
    • Line 75: warning: exported method GinServer.GET should have comment or be unexported (golint)
    • Line 79: warning: exported method GinServer.HEAD should have comment or be unexported (golint)
    • Line 83: warning: exported method GinServer.OPTIONS should have comment or be unexported (golint)
    • Line 87: warning: exported method GinServer.PATCH should have comment or be unexported (golint)
    • Line 91: warning: exported method GinServer.POST should have comment or be unexported (golint)
    • Line 95: warning: exported method GinServer.PUT should have comment or be unexported (golint)
    • Line 103: warning: exported method GinServer.RoutesInfo should have comment or be unexported (golint)
    • box/pkg/locker/redislocker/config.go
    • Line 10: warning: exported type Config should have comment or be unexported (golint)
    • Line 17: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 27: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 34: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 38: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/util/bytesize/bytesize.go
    • Line 5: warning: exported type ByteSize should have comment or be unexported (golint)
    • Line 9: warning: exported const KB should have comment (or a comment on this block) or be unexported (golint)
    • box/pkg/config/field/fields.go
    • Line 13: warning: exported type Fields should have comment or be unexported (golint)
    • Line 15: warning: exported type Config should have comment or be unexported (golint)
    • Line 32: warning: exported method Fields.Sort should have comment or be unexported (golint)
    • Line 38: warning: exported method Fields.Table should have comment or be unexported (golint)
    • Line 59: warning: exported method Fields.Parse should have comment or be unexported (golint)
    • box/pkg/config/source/redis/options.go
    • Line 25: warning: exported function WithConfig should have comment or be unexported (golint)
    • Line 36: warning: exported function WithRedisConfig should have comment or be unexported (golint)
    • Line 46: warning: exported function WithPrefix should have comment or be unexported (golint)
    • box/pkg/logger/logger.go
    • Line 45: 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)
    • Line 54: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 58: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 62: warning: exported method Logger.Debugw should have comment or be unexported (golint)
    • Line 66: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 70: warning: exported method Logger.Infof should have comment or be unexported (golint)
    • Line 74: warning: exported method Logger.Infow should have comment or be unexported (golint)
    • Line 78: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 82: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 86: warning: exported method Logger.Warnw should have comment or be unexported (golint)
    • Line 94: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 98: warning: exported method Logger.Errorw should have comment or be unexported (golint)
    • Line 102: warning: exported method Logger.DPanic should have comment or be unexported (golint)
    • Line 106: warning: exported method Logger.DPanicf should have comment or be unexported (golint)
    • Line 110: warning: exported method Logger.DPanicw should have comment or be unexported (golint)
    • Line 114: warning: exported method Logger.Panic should have comment or be unexported (golint)
    • Line 118: warning: exported method Logger.Panicf should have comment or be unexported (golint)
    • Line 122: warning: exported method Logger.Panicw should have comment or be unexported (golint)
    • Line 126: warning: exported method Logger.Fatal should have comment or be unexported (golint)
    • Line 130: warning: exported method Logger.Fatalf should have comment or be unexported (golint)
    • Line 134: warning: exported method Logger.Fatalw should have comment or be unexported (golint)
    • Line 143: warning: exported method Logger.TraceRaw should have comment or be unexported (golint)
    • Line 147: warning: exported method Logger.Named should have comment or be unexported (golint)
    • Line 151: warning: exported method Logger.Desugar should have comment or be unexported (golint)
    • Line 158: 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)
    • box/pkg/client/gopg/config.go
    • Line 49: warning: exported function WithTLSConfig should have comment or be unexported (golint)
    • Line 55: warning: exported function WithDialer should have comment or be unexported (golint)
    • Line 61: warning: exported function WithOnConnect should have comment or be unexported (golint)
    • box/pkg/client/wukong/request.go
    • Line 19: warning: exported type Request should have comment or be unexported (golint)
    • Line 39: warning: exported function NewRequest should have comment or be unexported (golint)
    • Line 59: warning: exported method Request.WithCTX should have comment or be unexported (golint)
    • Line 65: warning: exported method Request.Set should have comment or be unexported (golint)
    • Line 71: warning: exported method Request.Logger should have comment or be unexported (golint)
    • Line 75: warning: exported method Request.Metric should have comment or be unexported (golint)
    • Line 79: warning: exported method Request.SetBasicAuth should have comment or be unexported (golint)
    • Line 92: warning: exported method Request.AddCookies should have comment or be unexported (golint)
    • Line 109: warning: comment on exported method Request.Query should be of the form "Query ..." (golint)
    • Line 126: warning: exported method Request.Form should have comment or be unexported (golint)
    • Line 142: warning: exported method Request.Send should have comment or be unexported (golint)
    • Line 148: warning: exported method Request.Type should have comment or be unexported (golint)
    • Line 154: warning: exported method Request.End should have comment or be unexported (golint)
    • Line 158: warning: exported method Request.RawRequest should have comment or be unexported (golint)
    • Line 175: 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)
    • Line 185: 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)
    • box/pkg/insight/insight.go
    • Line 21: warning: exported var Default should have comment or be unexported (golint)
    • Line 47: warning: exported function Any should have comment or be unexported (golint)
    • Line 51: warning: exported function AnyH should have comment or be unexported (golint)
    • Line 55: warning: exported function AnyF should have comment or be unexported (golint)
    • Line 59: warning: exported function Get should have comment or be unexported (golint)
    • Line 63: warning: exported function GetH should have comment or be unexported (golint)
    • Line 67: warning: exported function GetF should have comment or be unexported (golint)
    • Line 71: warning: exported function Post should have comment or be unexported (golint)
    • Line 75: warning: exported function PostH should have comment or be unexported (golint)
    • Line 79: warning: exported function PostF should have comment or be unexported (golint)
    • box/pkg/util/protoutil/protoutil.go
    • Line 13: warning: exported function MarshalAny should have comment or be unexported (golint)
    • Line 20: warning: exported function MarshalAnyProtoMessage should have comment or be unexported (golint)
    • Line 29: warning: exported function ConvertToStatus should have comment or be unexported (golint)
    • Line 33: warning: exported function ConvertToStatusError should have comment or be unexported (golint)
    • Line 37: warning: exported function ErrorProto should have comment or be unexported (golint)
    • box/pkg/grpc/metautil/metautil.go
    • Line 11: warning: exported type NewMD should have comment or be unexported (golint)
    • Line 17: warning: exported function ExtractIncoming should have comment or be unexported (golint)
    • Line 25: warning: exported function ExtractOutgoing should have comment or be unexported (golint)
    • Line 33: warning: exported method NewMD.ToOutgoing should have comment or be unexported (golint)
    • Line 37: warning: exported method NewMD.ToIncoming should have comment or be unexported (golint)
    • Line 41: warning: exported method NewMD.Get should have comment or be unexported (golint)
    • Line 50: warning: exported method NewMD.Del should have comment or be unexported (golint)
    • Line 56: warning: exported method NewMD.Set should have comment or be unexported (golint)
    • Line 62: warning: exported method NewMD.Add should have comment or be unexported (golint)
    • box/pkg/debug/debug.go
    • Line 11: warning: exported type Debug should have comment or be unexported (golint)
    • Line 17: warning: exported var Default should have comment or be unexported (golint)
    • Line 30: warning: exported method Debug.Name should have comment or be unexported (golint)
    • Line 34: warning: exported method Debug.Serve should have comment or be unexported (golint)
    • Line 38: warning: exported method Debug.Shutdown should have comment or be unexported (golint)
    • box/option.go
    • Line 16: warning: exported function WithStartupTimeout should have comment or be unexported (golint)
    • Line 22: warning: comment on exported function WithShutdownTimeout should be of the form "WithShutdownTimeout ..." (golint)
    • Line 29: warning: comment on exported function WithAutoMaxProcs should be of the form "WithAutoMaxProcs ..." (golint)
    • box/pkg/pprof/pprof.go
    • Line 11: warning: exported type PProf should have comment or be unexported (golint)
    • Line 17: warning: exported var Default should have comment or be unexported (golint)
    • Line 41: warning: exported method PProf.Name should have comment or be unexported (golint)
    • Line 45: warning: exported method PProf.Serve should have comment or be unexported (golint)
    • Line 49: warning: exported method PProf.Shutdown should have comment or be unexported (golint)
    • box/pkg/schedule/config.go
    • Line 12: warning: exported type Config should have comment or be unexported (golint)
    • Line 26: warning: exported type Type should have comment or be unexported (golint)
    • Line 28: warning: exported type OptionFunc should have comment or be unexported (golint)
    • Line 32: warning: exported const Stop should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported function WithLocker should have comment or be unexported (golint)
    • Line 44: warning: exported function WithHandler should have comment or be unexported (golint)
    • Line 51: warning: exported function StdConfig should have comment or be unexported (golint)
    • Line 61: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • Line 73: warning: exported method Config.Path should have comment or be unexported (golint)
    • Line 77: warning: exported method Config.Build should have comment or be unexported (golint)
    • box/pkg/client/gopg/gopg.go
    • Line 14: warning: exported type PostgreSQL should have comment or be unexported (golint)
    • Line 68: warning: exported method PostgreSQL.Serve should have comment or be unexported (golint)
    • Line 76: warning: exported method PostgreSQL.Shutdown should have comment or be unexported (golint)
    • Line 84: warning: exported method PostgreSQL.Begin should have comment or be unexported (golint)
    • Line 88: warning: exported method PostgreSQL.BeginContext should have comment or be unexported (golint)
    • Line 92: warning: exported method PostgreSQL.Conn should have comment or be unexported (golint)
    • Line 96: warning: exported method PostgreSQL.Context should have comment or be unexported (golint)
    • Line 100: warning: exported method PostgreSQL.CopyFrom should have comment or be unexported (golint)
    • Line 104: warning: exported method PostgreSQL.CopyTo should have comment or be unexported (golint)
    • Line 108: warning: exported method PostgreSQL.Exec should have comment or be unexported (golint)
    • Line 112: warning: exported method PostgreSQL.ExecContext should have comment or be unexported (golint)
    • Line 116: warning: exported method PostgreSQL.ExecOne should have comment or be unexported (golint)
    • Line 120: warning: exported method PostgreSQL.ExecOneContext should have comment or be unexported (golint)
    • Line 124: warning: exported method PostgreSQL.Formatter should have comment or be unexported (golint)
    • Line 128: warning: exported method PostgreSQL.Listen should have comment or be unexported (golint)
    • Line 132: warning: exported method PostgreSQL.Model should have comment or be unexported (golint)
    • Line 136: warning: exported method PostgreSQL.ModelContext should have comment or be unexported (golint)
    • Line 140: warning: exported method PostgreSQL.Param should have comment or be unexported (golint)
    • Line 144: warning: exported method PostgreSQL.Ping should have comment or be unexported (golint)
    • Line 148: warning: exported method PostgreSQL.PoolStats should have comment or be unexported (golint)
    • Line 152: warning: exported method PostgreSQL.Prepare should have comment or be unexported (golint)
    • Line 156: warning: exported method PostgreSQL.Query should have comment or be unexported (golint)
    • Line 160: warning: exported method PostgreSQL.QueryContext should have comment or be unexported (golint)
    • Line 164: warning: exported method PostgreSQL.QueryOne should have comment or be unexported (golint)
    • Line 168: warning: exported method PostgreSQL.QueryOneContext should have comment or be unexported (golint)
    • Line 172: warning: exported method PostgreSQL.RunInTransaction should have comment or be unexported (golint)
    • Line 176: warning: exported method PostgreSQL.WithContext should have comment or be unexported (golint)
    • Line 180: warning: exported method PostgreSQL.WithParam should have comment or be unexported (golint)
    • Line 184: warning: exported method PostgreSQL.WithTimeout should have comment or be unexported (golint)
    • box/pkg/server/ginserver/default.go
    • Line 10: warning: exported var Default should have comment or be unexported (golint)
    • Line 13: warning: exported function Run should have comment or be unexported (golint)
    • Line 17: warning: exported function Use should have comment or be unexported (golint)
    • Line 21: warning: exported function Any should have comment or be unexported (golint)
    • Line 25: warning: exported function DELETE should have comment or be unexported (golint)
    • Line 29: warning: exported function GET should have comment or be unexported (golint)
    • Line 33: warning: exported function HEAD should have comment or be unexported (golint)
    • Line 37: warning: exported function OPTIONS should have comment or be unexported (golint)
    • Line 41: warning: exported function PATCH should have comment or be unexported (golint)
    • Line 45: warning: exported function POST should have comment or be unexported (golint)
    • Line 49: warning: exported function PUT should have comment or be unexported (golint)
    • Line 53: warning: exported function ServeHTTP should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!