Preparing report...

Report for github.com/gdp-org/gd

A    Great!    Found 93 issues across 117 files

Tweet

gofmt87%

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!


gocyclo84%

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.

    • gd/net/dhttp/client.go
    • Line 1330: warning: cyclomatic complexity 38 of function (*HttpClient).MakeRequest() is high (> 15) (gocyclo)
    • Line 1043: warning: cyclomatic complexity 27 of function changeMapToURLValues() is high (> 15) (gocyclo)
    • Line 1213: warning: cyclomatic complexity 22 of function (*HttpClient).getResponseBytes() is high (> 15) (gocyclo)
    • Line 961: warning: cyclomatic complexity 21 of function (*HttpClient).SendFile() is high (> 15) (gocyclo)
    • gd/databases/redisdb/cluster.go
    • Line 290: warning: cyclomatic complexity 19 of function reportPerf() is high (> 15) (gocyclo)
    • Line 130: warning: cyclomatic complexity 18 of function (*RedisClusterClient).newRedisCluster() is high (> 15) (gocyclo)
    • gd/godog.go
    • Line 78: warning: cyclomatic complexity 16 of function (*Engine).Run() is high (> 15) (gocyclo)
    • gd/dlog/config.go
    • Line 75: warning: cyclomatic complexity 27 of function (Logger)._loadConfiguration() is high (> 15) (gocyclo)
    • gd/utls/convert_util.go
    • Line 173: warning: cyclomatic complexity 18 of function ConvertToInt64() is high (> 15) (gocyclo)
    • Line 78: warning: cyclomatic complexity 18 of function MustInt64() is high (> 15) (gocyclo)
    • gd/dlog/filelog.go
    • Line 183: warning: cyclomatic complexity 26 of function (*FileLogWriter).intRotateTime() is high (> 15) (gocyclo)
    • Line 94: warning: cyclomatic complexity 19 of function NewFileLogWriter() is high (> 15) (gocyclo)

golint23%

Golint is a linter for Go source code.

    • gd/config.go
    • Line 13: warning: comment on exported function SetConfPath should be of the form "SetConfPath ..." (golint)
    • Line 18: warning: exported function GetConfFile should have comment or be unexported (golint)
    • Line 22: warning: comment on exported function Config should be of the form "Config ..." (golint)
    • Line 27: warning: comment on exported function SetConfig should be of the form "SetConfig ..." (golint)
    • gd/net/dogrpc/dog_server.go
    • Line 19: warning: exported function NewDogRpcServer should have comment or be unexported (golint)
    • Line 37: warning: exported method RpcServer.AddDogHandler should have comment or be unexported (golint)
    • Line 51: warning: exported method RpcServer.DogRpcRegister should have comment or be unexported (golint)
    • gd/service/register/register.go
    • Line 11: warning: exported var DefaultHeartBeat should have comment or be unexported (golint)
    • Line 16: warning: comment on exported type DogRegister should be of the form "DogRegister ..." (with optional leading article) (golint)
    • gd/log.go
    • Line 126: warning: exported function LogClose should have comment or be unexported (golint)
    • Line 130: warning: exported function Debug should have comment or be unexported (golint)
    • Line 134: warning: exported function Crash should have comment or be unexported (golint)
    • Line 138: warning: exported function Crashf should have comment or be unexported (golint)
    • Line 142: warning: exported function Exit should have comment or be unexported (golint)
    • Line 146: warning: exported function Exitf should have comment or be unexported (golint)
    • Line 150: warning: exported function Stderr should have comment or be unexported (golint)
    • Line 154: warning: exported function Stderrf should have comment or be unexported (golint)
    • Line 158: warning: exported function Stdout should have comment or be unexported (golint)
    • Line 162: warning: exported function Stdoutf should have comment or be unexported (golint)
    • Line 166: warning: exported function GetLevel should have comment or be unexported (golint)
    • Line 170: warning: exported function SetLevel should have comment or be unexported (golint)
    • Line 174: warning: exported function Log should have comment or be unexported (golint)
    • Line 178: warning: exported function Logf should have comment or be unexported (golint)
    • Line 182: warning: exported function Logc should have comment or be unexported (golint)
    • Line 186: warning: exported function Finest should have comment or be unexported (golint)
    • Line 190: warning: exported function Fine should have comment or be unexported (golint)
    • Line 194: warning: exported function DebugT should have comment or be unexported (golint)
    • Line 198: warning: exported function Trace should have comment or be unexported (golint)
    • Line 202: warning: exported function TraceT should have comment or be unexported (golint)
    • Line 206: warning: exported function Info should have comment or be unexported (golint)
    • Line 210: warning: exported function InfoT should have comment or be unexported (golint)
    • Line 214: warning: exported function Warn should have comment or be unexported (golint)
    • Line 218: warning: exported function WarnT should have comment or be unexported (golint)
    • Line 222: warning: exported function Error should have comment or be unexported (golint)
    • Line 226: warning: exported function ErrorT should have comment or be unexported (golint)
    • Line 230: warning: exported function Critical should have comment or be unexported (golint)
    • Line 234: warning: exported function CriticalT should have comment or be unexported (golint)
    • gd/dlog/log4go.go
    • Line 6: warning: package comment should be of the form "Package dlog ..." (golint)
    • Line 70: warning: comment on exported type Level should be of the form "Level ..." (with optional leading article) (golint)
    • Line 74: warning: exported const FINEST should have comment (or a comment on this block) or be unexported (golint)
    • Line 120: warning: comment on exported type LogWriter should be of the form "LogWriter ..." (with optional leading article) (golint)
    • Line 143: warning: comment on exported function NewLogger should be of the form "NewLogger ..." (golint)
    • Line 151: warning: comment on exported function NewConsoleLogger should be of the form "NewConsoleLogger ..." (golint)
    • Line 162: warning: comment on exported function NewDefaultLogger should be of the form "NewDefaultLogger ..." (golint)
    • Line 170: warning: comment on exported method Logger.Close should be of the form "Close ..." (golint)
    • Line 182: warning: comment on exported method Logger.AddFilter should be of the form "AddFilter ..." (golint)
    • Line 299: warning: exported method Logger.IntLogfTagUrl should have comment or be unexported (golint)
    • Line 453: warning: comment on exported method Logger.Log should be of the form "Log ..." (golint)
    • Line 485: warning: comment on exported method Logger.LogWithTag should be of the form "LogWithTag ..." (golint)
    • Line 530: warning: exported method Logger.IsEnabledFor should have comment or be unexported (golint)
    • gd/runtime/gr/goroutine_helper.go
    • Line 1: warning: package comment should be of the form "Package gr ..." (golint)
    • Line 13: warning: exported type FixedGoroutinePool should have comment or be unexported (golint)
    • Line 19: warning: exported method FixedGoroutinePool.Start should have comment or be unexported (golint)
    • Line 24: warning: exported method FixedGoroutinePool.Execute should have comment or be unexported (golint)
    • Line 36: warning: exported method FixedGoroutinePool.ExecuteWithArg should have comment or be unexported (golint)
    • Line 48: warning: exported method FixedGoroutinePool.Close should have comment or be unexported (golint)
    • Line 53: warning: don't use underscores in Go names; var TIMTOUR_Err should be TIMTOURErr (golint)
    • Line 53: warning: error var TIMTOUR_Err should have name of the form ErrFoo (golint)
    • Line 53: warning: exported var TIMTOUR_Err should have comment or be unexported (golint)
    • Line 55: warning: exported type FixedGoroutinePoolTimeout should have comment or be unexported (golint)
    • Line 62: warning: exported method FixedGoroutinePoolTimeout.Start should have comment or be unexported (golint)
    • Line 67: warning: exported method FixedGoroutinePoolTimeout.Execute should have comment or be unexported (golint)
    • Line 89: warning: exported method FixedGoroutinePoolTimeout.Close should have comment or be unexported (golint)
    • Line 94: warning: exported type GoRoutinePoolWithConfig should have comment or be unexported (golint)
    • Line 101: warning: exported method GoRoutinePoolWithConfig.Start should have comment or be unexported (golint)
    • Line 124: warning: exported method GoRoutinePoolWithConfig.ExecuteDefault should have comment or be unexported (golint)
    • Line 128: warning: exported method GoRoutinePoolWithConfig.ExecuteKey should have comment or be unexported (golint)
    • Line 137: warning: exported method GoRoutinePoolWithConfig.Close should have comment or be unexported (golint)
    • gd/runtime/inject/inject.go
    • Line 20: warning: exported type StartAble should have comment or be unexported (golint)
    • Line 24: warning: exported type CloseAble should have comment or be unexported (golint)
    • Line 28: warning: exported type Injectable should have comment or be unexported (golint)
    • Line 33: warning: exported type Logger should have comment or be unexported (golint)
    • Line 39: warning: exported type Object should have comment or be unexported (golint)
    • Line 49: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 54: warning: exported type Graph should have comment or be unexported (golint)
    • Line 60: warning: exported function NewGraph should have comment or be unexported (golint)
    • Line 85: warning: exported method Graph.FindByType should have comment or be unexported (golint)
    • Line 96: warning: exported method Graph.Len should have comment or be unexported (golint)
    • Line 102: warning: exported method Graph.Find should have comment or be unexported (golint)
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 139: warning: exported method Graph.RegWithoutInjection should have comment or be unexported (golint)
    • Line 143: warning: exported method Graph.RegisterOrFailNoFill should have comment or be unexported (golint)
    • Line 154: warning: exported method Graph.RegisterOrFailSingleNoFill should have comment or be unexported (golint)
    • Line 165: warning: exported method Graph.RegisterOrFail should have comment or be unexported (golint)
    • Line 176: warning: exported method Graph.RegisterOrFailSingle should have comment or be unexported (golint)
    • Line 187: warning: exported method Graph.RegisterNoFill should have comment or be unexported (golint)
    • Line 193: warning: exported method Graph.RegisterSingleNoFill should have comment or be unexported (golint)
    • Line 199: warning: exported method Graph.Register should have comment or be unexported (golint)
    • Line 205: warning: exported method Graph.RegisterSingle should have comment or be unexported (golint)
    • Line 422: warning: exported method Graph.SPrint should have comment or be unexported (golint)
    • Line 446: warning: exported method Graph.Close should have comment or be unexported (golint)
    • Line 524: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gd/databases/redisdb/cluster.go
    • Line 27: warning: exported const MaxGoroutinePoolSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type RedisClusterConf should have comment or be unexported (golint)
    • Line 73: warning: exported var ErrNil should have comment or be unexported (golint)
    • Line 75: warning: exported type RedisClusterCustomError should have comment or be unexported (golint)
    • Line 79: warning: exported type RedisCluster should have comment or be unexported (golint)
    • Line 85: warning: exported type RedisClusterClient should have comment or be unexported (golint)
    • Line 96: warning: exported method RedisClusterClient.Start should have comment or be unexported (golint)
    • Line 114: warning: exported method RedisClusterClient.Close should have comment or be unexported (golint)
    • Line 340: warning: comment on exported method RedisClusterClient.Get should be of the form "Get ..." (golint)
    • Line 366: warning: comment on exported method RedisClusterClient.Set should be of the form "Set ..." (golint)
    • Line 388: warning: comment on exported method RedisClusterClient.SetNX should be of the form "SetNX ..." (golint)
    • Line 411: warning: comment on exported method RedisClusterClient.Del should be of the form "Del ..." (golint)
    • Line 432: warning: comment on exported method RedisClusterClient.MGet should be of the form "MGet ..." (golint)
    • Line 498: warning: comment on exported method RedisClusterClient.MGet2 should be of the form "MGet2 ..." (golint)
    • Line 593: warning: exported method RedisClusterClient.MSet should have comment or be unexported (golint)
    • Line 645: warning: comment on exported method RedisClusterClient.MSet2 should be of the form "MSet2 ..." (golint)
    • Line 669: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • Line 713: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 743: warning: exported method RedisClusterClient.MDel should have comment or be unexported (golint)
    • Line 792: warning: comment on exported method RedisClusterClient.MDel2 should be of the form "MDel2 ..." (golint)
    • Line 854: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 889: warning: comment on exported method RedisClusterClient.HGet should be of the form "HGet ..." (golint)
    • Line 915: warning: comment on exported method RedisClusterClient.HMGet should be of the form "HMGet ..." (golint)
    • Line 948: warning: comment on exported method RedisClusterClient.HScan should be of the form "HScan ..." (golint)
    • Line 980: warning: comment on exported method RedisClusterClient.HGetAll should be of the form "HGetAll ..." (golint)
    • Line 1001: warning: comment on exported method RedisClusterClient.HSet should be of the form "HSet ..." (golint)
    • Line 1022: warning: comment on exported method RedisClusterClient.HSetNx should be of the form "HSetNx ..." (golint)
    • Line 1043: warning: comment on exported method RedisClusterClient.HMSet should be of the form "HMSet ..." (golint)
    • Line 1072: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1082: warning: exported method RedisClusterClient.HMDel should have comment or be unexported (golint)
    • Line 1098: warning: comment on exported method RedisClusterClient.Expire should be of the form "Expire ..." (golint)
    • Line 1119: warning: comment on exported method RedisClusterClient.PExpire should be of the form "PExpire ..." (golint)
    • Line 1140: warning: comment on exported method RedisClusterClient.PTtl should be of the form "PTtl ..." (golint)
    • Line 1161: warning: comment on exported method RedisClusterClient.HIncrBy should be of the form "HIncrBy ..." (golint)
    • Line 1182: warning: exported method RedisClusterClient.IncrBy should have comment or be unexported (golint)
    • Line 1199: warning: exported method RedisClusterClient.Eval should have comment or be unexported (golint)
    • Line 1223: warning: exported method RedisClusterClient.EvalSha should have comment or be unexported (golint)
    • Line 1246: warning: exported method RedisClusterClient.ZAdd should have comment or be unexported (golint)
    • Line 1262: warning: exported type ZSetResult should have comment or be unexported (golint)
    • Line 1267: warning: exported method RedisClusterClient.ZRangeByScoreWithScores should have comment or be unexported (golint)
    • Line 1300: warning: exported method RedisClusterClient.ZRevRangeByScoreWithScores should have comment or be unexported (golint)
    • Line 1334: warning: exported method RedisClusterClient.ZRange should have comment or be unexported (golint)
    • Line 1350: warning: exported method RedisClusterClient.ZRemRangeByRank should have comment or be unexported (golint)
    • Line 1366: warning: exported method RedisClusterClient.ZRemRangeByScore should have comment or be unexported (golint)
    • Line 1381: warning: exported method RedisClusterClient.ZRem should have comment or be unexported (golint)
    • Line 1397: warning: exported method RedisClusterClient.ZRevRange should have comment or be unexported (golint)
    • Line 1413: warning: exported method RedisClusterClient.SetBit should have comment or be unexported (golint)
    • Line 1429: warning: exported method RedisClusterClient.Exist should have comment or be unexported (golint)
    • Line 1456: warning: exported method RedisClusterClient.SAdd should have comment or be unexported (golint)
    • Line 1472: warning: exported method RedisClusterClient.SPop should have comment or be unexported (golint)
    • Line 1487: warning: exported method RedisClusterClient.LPop should have comment or be unexported (golint)
    • Line 1502: warning: exported method RedisClusterClient.LIndex should have comment or be unexported (golint)
    • Line 1517: warning: exported method RedisClusterClient.LPush should have comment or be unexported (golint)
    • Line 1532: warning: exported method RedisClusterClient.RPush should have comment or be unexported (golint)
    • Line 1547: warning: exported method RedisClusterClient.HLen should have comment or be unexported (golint)
    • gd/utls/time.go
    • Line 15: warning: exported const Nanosecond should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported function GetCurrentSecond should have comment or be unexported (golint)
    • Line 49: warning: exported function GetCurrentMillisecond should have comment or be unexported (golint)
    • Line 53: warning: exported function GetCurrentMicrosecond should have comment or be unexported (golint)
    • Line 57: warning: exported function GetCurrentNanosecond should have comment or be unexported (golint)
    • Line 61: warning: exported function FromSecondToLocalDate should have comment or be unexported (golint)
    • Line 65: warning: exported function GetCurrentTime should have comment or be unexported (golint)
    • Line 69: warning: exported function FromLocalDateToSecond should have comment or be unexported (golint)
    • Line 75: warning: exported function IsSameDay should have comment or be unexported (golint)
    • Line 84: warning: exported function IsSameDayWithTimestamp should have comment or be unexported (golint)
    • Line 91: warning: don't use underscores in Go names; const offset_day should be offsetDay (golint)
    • Line 92: warning: don't use underscores in Go names; const offset_monty should be offsetMonty (golint)
    • Line 93: warning: don't use underscores in Go names; const offset_year should be offsetYear (golint)
    • Line 96: warning: exported function FromTime2TimeInt should have comment or be unexported (golint)
    • Line 101: warning: exported function SplitTimeInt should have comment or be unexported (golint)
    • Line 105: warning: exported function DGetCurrentTime should have comment or be unexported (golint)
    • Line 109: warning: exported function Sleep should have comment or be unexported (golint)
    • Line 113: warning: exported function Duration should have comment or be unexported (golint)
    • Line 117: warning: exported function IsTimeoutError should have comment or be unexported (golint)
    • gd/net/dogrpc/common.go
    • Line 14: warning: exported const DefaultConcurrency should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported var TimeOutError should have comment or be unexported (golint)
    • gd/config/config.go
    • Line 21: warning: exported type Conf should have comment or be unexported (golint)
    • Line 25: warning: exported method Conf.Section should have comment or be unexported (golint)
    • Line 29: warning: exported method Conf.GetIniFile should have comment or be unexported (golint)
    • Line 33: warning: exported function SetConfPath should have comment or be unexported (golint)
    • Line 39: warning: exported function Config should have comment or be unexported (golint)
    • gd/derror/error.go
    • Line 14: warning: exported var RpcSuccess should have comment or be unexported (golint)
    • Line 49: warning: exported function GetErrorType should have comment or be unexported (golint)
    • Line 57: warning: exported type CodeError should have comment or be unexported (golint)
    • Line 63: warning: exported method CodeError.Code should have comment or be unexported (golint)
    • Line 67: warning: exported method CodeError.Type should have comment or be unexported (golint)
    • Line 75: warning: exported method CodeError.Detail should have comment or be unexported (golint)
    • Line 78: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 91: warning: exported method CodeError.ToString should have comment or be unexported (golint)
    • Line 95: warning: exported method CodeError.SetMsg should have comment or be unexported (golint)
    • Line 100: warning: exported function SetCodeType should have comment or be unexported (golint)
    • Line 108: warning: exported function MakeHttpErrorByStatusCode should have comment or be unexported (golint)
    • Line 119: warning: exported function NewCodeError should have comment or be unexported (golint)
    • Line 134: warning: exported function MakeCodeError should have comment or be unexported (golint)
    • gd/runtime/pc/pc.go
    • Line 28: warning: exported const DefaultSendCountOnce should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported type DecideSuffix should have comment or be unexported (golint)
    • Line 72: warning: exported function Init should have comment or be unexported (golint)
    • Line 76: warning: exported function InitPerfCounter should have comment or be unexported (golint)
    • Line 124: warning: exported function SetRunPort should have comment or be unexported (golint)
    • Line 132: warning: exported function SetSuffixDecider should have comment or be unexported (golint)
    • Line 138: warning: exported function SetUpdater should have comment or be unexported (golint)
    • Line 371: warning: exported function ClosePerfCounter should have comment or be unexported (golint)
    • Line 378: warning: exported function CostFail should have comment or be unexported (golint)
    • Line 383: warning: exported function ErrorIncr should have comment or be unexported (golint)
    • Line 388: warning: exported function Incr should have comment or be unexported (golint)
    • Line 419: warning: comment on exported function Cost should be of the form "Cost ..." (golint)
    • gd/net/dgrpc/client.go
    • Line 25: warning: exported type GrpcClient should have comment or be unexported (golint)
    • Line 44: warning: exported method GrpcClient.Start should have comment or be unexported (golint)
    • Line 65: warning: exported method GrpcClient.Stop should have comment or be unexported (golint)
    • Line 75: warning: exported method GrpcClient.GetRawClient should have comment or be unexported (golint)
    • Line 79: warning: exported method GrpcClient.DefaultClient should have comment or be unexported (golint)
    • Line 170: warning: exported method GrpcClient.WaitClientReady should have comment or be unexported (golint)
    • Line 183: warning: exported method GrpcClient.GetCredentialsByCA should have comment or be unexported (golint)
    • Line 216: warning: exported method GrpcClient.GetTLSCredentials should have comment or be unexported (golint)
    • gd/net/dgrpc/gl.go
    • Line 14: warning: exported function UnaryClientCtxInterceptor should have comment or be unexported (golint)
    • Line 25: warning: exported function StreamClientCtxInterceptor should have comment or be unexported (golint)
    • Line 36: warning: exported function StreamServerCtxInterceptor should have comment or be unexported (golint)
    • Line 44: warning: exported function UnaryServerCtxInterceptor should have comment or be unexported (golint)
    • Line 52: warning: exported function WithGlInterceptor should have comment or be unexported (golint)
    • gd/net/dgrpc/interceptor.go
    • Line 12: warning: exported type InterceptorOption should have comment or be unexported (golint)
    • Line 14: warning: exported function GetOptionHolder should have comment or be unexported (golint)
    • Line 22: warning: exported type OptionHolder should have comment or be unexported (golint)
    • gd/net/dogrpc/gl_filter.go
    • Line 14: warning: comment on exported type GlFilter should be of the form "GlFilter ..." (with optional leading article) (golint)
    • Line 22: warning: exported method GlFilter.SetNext should have comment or be unexported (golint)
    • Line 26: warning: exported method GlFilter.Handle should have comment or be unexported (golint)
    • gd/dlog/filelog.go
    • Line 17: warning: comment on exported type FileLogWriter should be of the form "FileLogWriter ..." (with optional leading article) (golint)
    • Line 58: warning: comment on exported method FileLogWriter.LogWrite should be of the form "LogWrite ..." (golint)
    • Line 76: warning: exported method FileLogWriter.Close should have comment or be unexported (golint)
    • Line 169: warning: comment on exported method FileLogWriter.Rotate should be of the form "Rotate ..." (golint)
    • Line 292: warning: comment on exported method FileLogWriter.SetFormat should be of the form "SetFormat ..." (golint)
    • Line 299: warning: comment on exported method FileLogWriter.SetHeadFoot should be of the form "SetHeadFoot ..." (golint)
    • Line 310: warning: comment on exported method FileLogWriter.SetRotateLines should be of the form "SetRotateLines ..." (golint)
    • Line 318: warning: comment on exported method FileLogWriter.SetRotateSize should be of the form "SetRotateSize ..." (golint)
    • Line 326: warning: comment on exported method FileLogWriter.SetRotateDaily should be of the form "SetRotateDaily ..." (golint)
    • Line 334: warning: exported method FileLogWriter.SetRotateHourly should have comment or be unexported (golint)
    • gd/databases/redisdb/pool.go
    • Line 25: warning: exported const DefaultMaxActive should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type RedisConfig should have comment or be unexported (golint)
    • Line 59: warning: exported type RedisPool should have comment or be unexported (golint)
    • Line 65: warning: exported type RedisPoolClient should have comment or be unexported (golint)
    • Line 76: warning: exported method RedisPoolClient.Start should have comment or be unexported (golint)
    • Line 94: warning: exported method RedisPoolClient.Close should have comment or be unexported (golint)
    • Line 268: warning: exported method RedisPoolClient.Do should have comment or be unexported (golint)
    • Line 318: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 327: warning: exported method RedisPoolClient.ActiveCount should have comment or be unexported (golint)
    • Line 339: warning: exported type BatchReq should have comment or be unexported (golint)
    • Line 344: warning: exported type BatchReply should have comment or be unexported (golint)
    • Line 350: warning: exported method RedisPoolClient.BatchDo should have comment or be unexported (golint)
    • Line 360: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 425: warning: comment on exported method RedisPoolClient.Get should be of the form "Get ..." (golint)
    • Line 434: warning: exported method RedisPoolClient.Set should have comment or be unexported (golint)
    • Line 439: warning: exported method RedisPoolClient.Del should have comment or be unexported (golint)
    • Line 444: warning: exported method RedisPoolClient.HGetAll should have comment or be unexported (golint)
    • Line 448: warning: exported method RedisPoolClient.HScan should have comment or be unexported (golint)
    • Line 459: warning: exported method RedisPoolClient.HGet should have comment or be unexported (golint)
    • Line 463: warning: exported method RedisPoolClient.HDel should have comment or be unexported (golint)
    • Line 468: warning: exported method RedisPoolClient.HSet should have comment or be unexported (golint)
    • Line 473: warning: exported method RedisPoolClient.HMGet should have comment or be unexported (golint)
    • Line 478: warning: exported method RedisPoolClient.HMDel should have comment or be unexported (golint)
    • Line 483: warning: exported method RedisPoolClient.IncrBy should have comment or be unexported (golint)
    • Line 487: warning: exported method RedisPoolClient.HIncrBy should have comment or be unexported (golint)
    • Line 491: warning: exported method RedisPoolClient.Incr should have comment or be unexported (golint)
    • Line 495: warning: exported method RedisPoolClient.Expire should have comment or be unexported (golint)
    • Line 499: warning: exported method RedisPoolClient.SetNX should have comment or be unexported (golint)
    • Line 503: warning: exported method RedisPoolClient.MGet should have comment or be unexported (golint)
    • Line 511: warning: exported method RedisPoolClient.SetEx should have comment or be unexported (golint)
    • Line 516: warning: exported method RedisPoolClient.SAdd should have comment or be unexported (golint)
    • Line 526: warning: exported method RedisPoolClient.ZAdd should have comment or be unexported (golint)
    • Line 531: warning: exported method RedisPoolClient.ZRemByScore should have comment or be unexported (golint)
    • Line 536: warning: exported method RedisPoolClient.ZRange should have comment or be unexported (golint)
    • Line 540: warning: exported method RedisPoolClient.Exists should have comment or be unexported (golint)
    • Line 544: warning: exported method RedisPoolClient.SPop should have comment or be unexported (golint)
    • Line 548: warning: exported method RedisPoolClient.LIndex should have comment or be unexported (golint)
    • Line 552: warning: exported method RedisPoolClient.LPop should have comment or be unexported (golint)
    • Line 556: warning: exported method RedisPoolClient.RPush should have comment or be unexported (golint)
    • Line 560: warning: exported method RedisPoolClient.LPush should have comment or be unexported (golint)
    • Line 564: warning: exported method RedisPoolClient.HLen should have comment or be unexported (golint)
    • gd/runtime/gl/global.go
    • Line 19: warning: exported function Init should have comment or be unexported (golint)
    • Line 43: warning: exported function Close should have comment or be unexported (golint)
    • Line 71: warning: exported function Del should have comment or be unexported (golint)
    • Line 79: warning: exported function Get should have comment or be unexported (golint)
    • Line 88: warning: exported function BatchGet should have comment or be unexported (golint)
    • Line 103: warning: exported function Set should have comment or be unexported (golint)
    • Line 112: warning: exported function GetCurrentGlData should have comment or be unexported (golint)
    • Line 140: warning: exported function JsonCurrentGlData should have comment or be unexported (golint)
    • Line 171: warning: exported function GetGlData should have comment or be unexported (golint)
    • Line 199: warning: exported function CopyGlData should have comment or be unexported (golint)
    • Line 222: warning: exported function IncrCost should have comment or be unexported (golint)
    • Line 226: warning: exported function IncrCostKey should have comment or be unexported (golint)
    • Line 230: warning: exported function IncrCountKey should have comment or be unexported (golint)
    • Line 234: warning: exported function IncrFailKey should have comment or be unexported (golint)
    • Line 238: warning: exported function Incr should have comment or be unexported (golint)
    • Line 259: warning: exported function Decr should have comment or be unexported (golint)
    • gd/utls/orderedmap/orderedmap.go
    • Line 12: warning: exported type KVPair should have comment or be unexported (golint)
    • Line 21: warning: exported method KVPair.Compare should have comment or be unexported (golint)
    • Line 25: warning: exported type OrderedMap should have comment or be unexported (golint)
    • Line 31: warning: exported function NewOrderedMap should have comment or be unexported (golint)
    • Line 40: warning: exported function NewOrderedMapWithArgs should have comment or be unexported (golint)
    • Line 52: warning: exported method OrderedMap.Set should have comment or be unexported (golint)
    • Line 63: warning: exported method OrderedMap.Get should have comment or be unexported (golint)
    • Line 68: warning: exported method OrderedMap.Delete should have comment or be unexported (golint)
    • Line 95: warning: exported method OrderedMap.Iter should have comment or be unexported (golint)
    • Line 100: warning: exported method OrderedMap.UnsafeIter should have comment or be unexported (golint)
    • Line 116: warning: exported method OrderedMap.IterFunc should have comment or be unexported (golint)
    • Line 131: warning: exported method OrderedMap.RevIterFunc should have comment or be unexported (golint)
    • Line 153: warning: exported method OrderedMap.Len should have comment or be unexported (golint)
    • gd/sample/server.go
    • Line 22: warning: exported type TestReq should have comment or be unexported (golint)
    • Line 26: warning: exported type TestResp should have comment or be unexported (golint)
    • Line 30: warning: error should be the last type when returning multiple items (golint)
    • Line 30: warning: exported function HandlerHttpTest should have comment or be unexported (golint)
    • Line 40: warning: error should be the last type when returning multiple items (golint)
    • Line 40: warning: exported function HandlerRpcTest should have comment or be unexported (golint)
    • Line 67: warning: exported function Register should have comment or be unexported (golint)
    • gd/signal.go
    • Line 15: warning: exported var Shutdown should have comment or be unexported (golint)
    • Line 25: warning: exported method Engine.Signal should have comment or be unexported (golint)
    • gd/utls/dump_panic.go
    • Line 18: warning: exported function ReviewDumpPanic should have comment or be unexported (golint)
    • Line 30: warning: exported function Dump should have comment or be unexported (golint)
    • gd/utls/str.go
    • Line 10: warning: exported function Str2Bts should have comment or be unexported (golint)
    • Line 16: warning: exported function Bts2Str should have comment or be unexported (golint)
    • Line 22: warning: exported function SafeSprintf should have comment or be unexported (golint)
    • gd/runtime/inject/inject_test.go
    • Line 287: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 311: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gd/dlog/config.go
    • Line 18: warning: exported type XmlProperty should have comment or be unexported (golint)
    • Line 23: warning: exported type XmlFilter should have comment or be unexported (golint)
    • Line 31: warning: exported type XmlLoggerConfig should have comment or be unexported (golint)
    • Line 36: warning: comment on exported method Logger.LoadConfiguration should be of the form "LoadConfiguration ..." (golint)
    • Line 65: warning: exported method Logger.LoadConfigurationByXml should have comment or be unexported (golint)
    • Line 77: warning: should omit 2nd value from range; this loop is equivalent to `for name := range ...` (golint)
    • gd/runtime/gr/stopable_task_group.go
    • Line 1: warning: package comment should be of the form "Package gr ..." (golint)
    • Line 9: warning: comment on exported type StopAbleTask should be of the form "StopAbleTask ..." (with optional leading article) (golint)
    • Line 18: warning: exported type StopAbleTaskGroup should have comment or be unexported (golint)
    • Line 23: warning: exported function NewStopAbleTaskGroup should have comment or be unexported (golint)
    • Line 29: warning: exported method StopAbleTaskGroup.AddTask should have comment or be unexported (golint)
    • Line 38: warning: exported method StopAbleTaskGroup.Start should have comment or be unexported (golint)
    • Line 45: warning: exported method StopAbleTaskGroup.Close should have comment or be unexported (golint)
    • Line 49: warning: exported method StopAbleTaskGroup.WaitStopAll should have comment or be unexported (golint)
    • gd/net/dhttp/client.go
    • Line 1: warning: package comment should be of the form "Package dhttp ..." (golint)
    • Line 50: warning: exported type Request should have comment or be unexported (golint)
    • Line 51: warning: exported type Response should have comment or be unexported (golint)
    • Line 82: warning: exported type HttpClientRetryable should have comment or be unexported (golint)
    • Line 116: warning: exported var DisableTransportSwap should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 254: warning: comment on exported method HttpClient.Clone should be of the form "Clone ..." (golint)
    • Line 291: warning: comment on exported method HttpClient.SetDebug should be of the form "SetDebug ..." (golint)
    • Line 297: warning: comment on exported method HttpClient.SetCurlCommand should be of the form "SetCurlCommand ..." (golint)
    • Line 303: warning: comment on exported method HttpClient.SetDoNotClearHttpClient should be of the form "SetDoNotClearHttpClient ..." (golint)
    • Line 309: warning: comment on exported method HttpClient.ClearHttpClient should be of the form "ClearHttpClient ..." (golint)
    • Line 330: warning: comment on exported method HttpClient.Timeout should be of the form "Timeout ..." (golint)
    • Line 336: warning: comment on exported method HttpClient.CustomMethod should be of the form "CustomMethod ..." (golint)
    • Line 362: warning: exported method HttpClient.Get should have comment or be unexported (golint)
    • Line 370: warning: exported method HttpClient.Post should have comment or be unexported (golint)
    • Line 378: warning: exported method HttpClient.Head should have comment or be unexported (golint)
    • Line 386: warning: exported method HttpClient.Put should have comment or be unexported (golint)
    • Line 394: warning: exported method HttpClient.Delete should have comment or be unexported (golint)
    • Line 402: warning: exported method HttpClient.Patch should have comment or be unexported (golint)
    • Line 410: warning: exported method HttpClient.Options should have comment or be unexported (golint)
    • Line 418: warning: comment on exported method HttpClient.SetHeader should be of the form "SetHeader ..." (golint)
    • Line 476: warning: comment on exported method HttpClient.Retry should be of the form "Retry ..." (golint)
    • Line 528: warning: exported var Types should have comment or be unexported (golint)
    • Line 670: warning: comment on exported method HttpClient.Param should be of the form "Param ..." (golint)
    • Line 678: warning: comment on exported method HttpClient.TLSClientConfig should be of the form "TLSClientConfig ..." (golint)
    • Line 832: warning: exported method HttpClient.SendMap should have comment or be unexported (golint)
    • Line 908: warning: exported type File should have comment or be unexported (golint)
    • Line 1330: warning: exported method HttpClient.MakeRequest should have comment or be unexported (golint)
    • gd/net/dogrpc/encoding.go
    • Line 18: warning: exported type Packet should have comment or be unexported (golint)
    • Line 23: warning: exported type MessageEncoder should have comment or be unexported (golint)
    • Line 28: warning: exported type MessageDecoder should have comment or be unexported (golint)
    • Line 32: warning: exported type MessageEncoderFunc should have comment or be unexported (golint)
    • Line 33: warning: exported type MessageDecoderFunc should have comment or be unexported (golint)
    • Line 58: warning: exported type RpcPacket should have comment or be unexported (golint)
    • Line 66: warning: exported method RpcPacket.ID should have comment or be unexported (golint)
    • Line 70: warning: exported method RpcPacket.SetErrCode should have comment or be unexported (golint)
    • Line 74: warning: exported function NewRpcPacket should have comment or be unexported (golint)
    • Line 79: warning: exported function NewRpcPacketWithSeq should have comment or be unexported (golint)
    • Line 83: warning: exported function NewRpcPacketWithRet should have comment or be unexported (golint)
    • Line 93: warning: exported type RpcPacketEncoder should have comment or be unexported (golint)
    • Line 97: warning: exported type RpcPacketDecoder should have comment or be unexported (golint)
    • Line 101: warning: exported method RpcPacketEncoder.Encode should have comment or be unexported (golint)
    • Line 124: warning: exported method RpcPacketDecoder.Decode should have comment or be unexported (golint)
    • Line 149: warning: exported method RpcPacketEncoder.Flush should have comment or be unexported (golint)
    • Line 163: warning: exported const HeaderLen should have comment (or a comment on this block) or be unexported (golint)
    • Line 170: warning: exported type DogPacket should have comment or be unexported (golint)
    • Line 175: warning: exported type Header should have comment or be unexported (golint)
    • Line 195: warning: exported method DogPacket.ID should have comment or be unexported (golint)
    • Line 199: warning: exported method DogPacket.SetErrCode should have comment or be unexported (golint)
    • Line 203: warning: exported function NewDogPacket should have comment or be unexported (golint)
    • Line 208: warning: exported function NewDogPacketWithSeq should have comment or be unexported (golint)
    • Line 212: warning: exported function NewDogPacketWithRet should have comment or be unexported (golint)
    • Line 235: warning: exported type DogPacketEncoder should have comment or be unexported (golint)
    • Line 239: warning: exported type DogPacketDecoder should have comment or be unexported (golint)
    • Line 243: warning: exported method DogPacketEncoder.Encode should have comment or be unexported (golint)
    • Line 257: warning: exported method DogPacketDecoder.Decode should have comment or be unexported (golint)
    • Line 297: warning: exported method DogPacketEncoder.Flush should have comment or be unexported (golint)
    • gd/net/dogrpc/filter.go
    • Line 16: warning: exported type Filter should have comment or be unexported (golint)
    • Line 21: warning: exported type Filters should have comment or be unexported (golint)
    • Line 25: warning: exported function Use should have comment or be unexported (golint)
    • Line 36: warning: exported method Filters.Handle should have comment or be unexported (golint)
    • gd/godog.go
    • Line 27: warning: exported type Engine should have comment or be unexported (golint)
    • Line 33: warning: exported function Default should have comment or be unexported (golint)
    • Line 77: warning: comment on exported method Engine.Run should be of the form "Run ..." (golint)
    • Line 224: warning: comment on exported function NewRpcClient should be of the form "NewRpcClient ..." (golint)
    • Line 230: warning: exported function NewRpcClientTls should have comment or be unexported (golint)
    • Line 235: warning: exported function NewRpcClientTlsConfig should have comment or be unexported (golint)
    • Line 240: warning: exported function NewRpcClientTlsFromFile should have comment or be unexported (golint)
    • Line 245: warning: comment on exported function NewHttpClient should be of the form "NewHttpClient ..." (golint)
    • Line 250: warning: comment on exported function NewGrpcClient should be of the form "NewGrpcClient ..." (golint)
    • Line 255: warning: exported function NewGrpcClientTls should have comment or be unexported (golint)
    • Line 259: warning: exported function NewGrpcClientTlsFromFile should have comment or be unexported (golint)
    • gd/utls/network/network.go
    • Line 12: warning: comment on exported function IsLocalIP should be of the form "IsLocalIP ..." (golint)
    • Line 24: warning: comment on exported function GetRealIP should be of the form "GetRealIP ..." (golint)
    • Line 51: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 56: warning: comment on exported function GetLocalIP should be of the form "GetLocalIP ..." (golint)
    • gd/net/dgrpc/log.go
    • Line 36: warning: exported function WithLogInterceptor should have comment or be unexported (golint)
    • Line 43: warning: exported function StreamServerLoggerInterceptor should have comment or be unexported (golint)
    • Line 84: warning: exported function UnaryServerLoggerInterceptor should have comment or be unexported (golint)
    • Line 131: warning: exported var Logger should have comment or be unexported (golint)
    • Line 133: warning: exported const LogTag should have comment or be unexported (golint)
    • Line 135: warning: exported type GrpcLogger should have comment or be unexported (golint)
    • Line 137: warning: exported function SetGrpcLogger should have comment or be unexported (golint)
    • Line 141: warning: exported method GrpcLogger.Info should have comment or be unexported (golint)
    • Line 146: warning: exported method GrpcLogger.Infoln should have comment or be unexported (golint)
    • Line 151: warning: exported method GrpcLogger.Infof should have comment or be unexported (golint)
    • Line 156: warning: exported method GrpcLogger.Warning should have comment or be unexported (golint)
    • Line 161: warning: exported method GrpcLogger.Warningln should have comment or be unexported (golint)
    • Line 166: warning: exported method GrpcLogger.Warningf should have comment or be unexported (golint)
    • Line 176: warning: exported method GrpcLogger.Errorln should have comment or be unexported (golint)
    • Line 181: warning: exported method GrpcLogger.Errorf should have comment or be unexported (golint)
    • Line 186: warning: exported method GrpcLogger.Fatal should have comment or be unexported (golint)
    • Line 190: warning: exported method GrpcLogger.Fatalln should have comment or be unexported (golint)
    • Line 194: warning: exported method GrpcLogger.Fatalf should have comment or be unexported (golint)
    • Line 198: warning: exported method GrpcLogger.V should have comment or be unexported (golint)
    • Line 213: warning: exported method GrpcLogger.LogWithDepthAndLevel should have comment or be unexported (golint)
    • gd/databases/mysqldb/db.go
    • Line 27: warning: exported const PcTransactionInsertDup should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type MysqlClient should have comment or be unexported (golint)
    • Line 43: warning: exported method MysqlClient.Start should have comment or be unexported (golint)
    • Line 61: warning: exported method MysqlClient.Close should have comment or be unexported (golint)
    • Line 71: warning: exported method MysqlClient.GetReadDbRandom should have comment or be unexported (golint)
    • Line 95: warning: exported method MysqlClient.GetWriteDbs should have comment or be unexported (golint)
    • Line 193: warning: exported method MysqlClient.GetCount should have comment or be unexported (golint)
    • Line 299: warning: comment on exported method MysqlClient.Query should be of the form "Query ..." (golint)
    • Line 330: warning: exported method MysqlClient.QueryList should have comment or be unexported (golint)
    • Line 365: warning: comment on exported method MysqlClient.Update should be of the form "Update ..." (golint)
    • Line 445: warning: comment on exported method MysqlClient.Add should be of the form "Add ..." (golint)
    • Line 451: warning: exported method MysqlClient.AddEscapeAutoIncr should have comment or be unexported (golint)
    • Line 459: warning: comment on exported method MysqlClient.AddEscapeAutoIncrAndRetLastId should be of the form "AddEscapeAutoIncrAndRetLastId ..." (golint)
    • Line 464: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 543: warning: exported method MysqlClient.InsertOrUpdateOnDup should have comment or be unexported (golint)
    • Line 618: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 649: warning: comment on exported method MysqlClient.Delete should be of the form "Delete ..." (golint)
    • Line 671: warning: exported method MysqlClient.Execute should have comment or be unexported (golint)
    • Line 686: warning: exported method MysqlClient.ExecTransaction should have comment or be unexported (golint)
    • gd/net/dogrpc/rpc_server.go
    • Line 23: warning: exported type RpcHandlerFunc should have comment or be unexported (golint)
    • Line 25: warning: exported type RpcServer should have comment or be unexported (golint)
    • Line 37: warning: exported function NewRpcServer should have comment or be unexported (golint)
    • Line 49: warning: exported method RpcServer.Start should have comment or be unexported (golint)
    • Line 102: warning: exported method RpcServer.Close should have comment or be unexported (golint)
    • Line 106: warning: exported method RpcServer.AddHandler should have comment or be unexported (golint)
    • gd/net/dogrpc/sample/server.go
    • Line 14: warning: exported type TestReq should have comment or be unexported (golint)
    • Line 18: warning: exported type TestResp should have comment or be unexported (golint)
    • Line 22: warning: error should be the last type when returning multiple items (golint)
    • gd/runtime/stat/stat.go
    • Line 23: warning: exported type StatValue should have comment or be unexported (golint)
    • Line 35: warning: exported type Stat should have comment or be unexported (golint)
    • Line 42: warning: exported function NewStat should have comment or be unexported (golint)
    • Line 46: warning: exported method Stat.Begin should have comment or be unexported (golint)
    • Line 80: warning: exported method Stat.End should have comment or be unexported (golint)
    • Line 91: warning: exported method Stat.EndErr should have comment or be unexported (golint)
    • Line 116: warning: exported function DeferStat should have comment or be unexported (golint)
    • Line 120: warning: exported function DeferAppStat should have comment or be unexported (golint)
    • Line 124: warning: exported type StatMgr should have comment or be unexported (golint)
    • Line 135: warning: exported function StatMgrInstance should have comment or be unexported (golint)
    • Line 145: warning: exported method StatMgr.Init should have comment or be unexported (golint)
    • Line 307: warning: exported const MaxStatFileSize should have comment or be unexported (golint)
    • Line 308: warning: exported const MaxStatFileCount should have comment or be unexported (golint)
    • gd/net/dgrpc/pc.go
    • Line 67: warning: exported function UnaryClientPerfCounterInterceptor should have comment or be unexported (golint)
    • Line 86: warning: exported function StreamClientPerfCounterInterceptor should have comment or be unexported (golint)
    • Line 105: warning: exported function StreamServerPerfCounterInterceptor should have comment or be unexported (golint)
    • Line 121: warning: exported function UnaryServerPerfCounterInterceptor should have comment or be unexported (golint)
    • Line 137: warning: exported function WithPerfCounterInterceptor should have comment or be unexported (golint)
    • gd/net/dgrpc/utls.go
    • Line 16: warning: exported function GetClientIP should have comment or be unexported (golint)
    • Line 35: warning: exported function ShouldFail4Code should have comment or be unexported (golint)
    • gd/utls/settings_utils.go
    • Line 8: warning: don't use underscores in Go names; var lcs_talos_map should be lcsTalosMap (golint)
    • Line 20: warning: don't use underscores in Go names; var lcs_enabled should be lcsEnabled (golint)
    • Line 32: warning: comment on exported function FixCategoryByIdc should be of the form "FixCategoryByIdc ..." (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 42: warning: comment on exported function CheckIfUseLCSByIdc should be of the form "CheckIfUseLCSByIdc ..." (golint)
    • gd/runtime/gl/const.go
    • Line 9: warning: exported const ClientIp should have comment (or a comment on this block) or be unexported (golint)
    • gd/net/dgrpc/timeout.go
    • Line 15: warning: exported function WithClientTimeOutInterceptor should have comment or be unexported (golint)
    • Line 22: warning: exported function UnaryClientTimeOutInterceptor should have comment or be unexported (golint)
    • Line 34: warning: exported function StreamClientTimeOutInterceptor should have comment or be unexported (golint)
    • gd/utls/slice_util.go
    • Line 8: warning: exported function StringArraySlice should have comment or be unexported (golint)
    • Line 21: warning: exported function Int64ArraySlice should have comment or be unexported (golint)
    • Line 34: warning: comment on exported function CutStringSliceByStep should be of the form "CutStringSliceByStep ..." (golint)
    • Line 54: warning: exported function Int64ArrayToString should have comment or be unexported (golint)
    • Line 66: warning: exported function StringInSlice should have comment or be unexported (golint)
    • gd/net/dhttp/filter.go
    • Line 25: warning: comment on exported function GroupFilter should be of the form "GroupFilter ..." (golint)
    • Line 36: warning: comment on exported function GlFilter should be of the form "GlFilter ..." (golint)
    • Line 46: warning: comment on exported function Logger should be of the form "Logger ..." (golint)
    • Line 170: warning: comment on exported function StatFilter should be of the form "StatFilter ..." (golint)
    • gd/net/dogrpc/dog_client.go
    • Line 24: warning: comment on exported method RpcClient.DogConnect should be of the form "DogConnect ..." (golint)
    • Line 76: warning: comment on exported method RpcClient.DogInvoke should be of the form "DogInvoke ..." (golint)
    • gd/service/discovery/etcd.go
    • Line 31: warning: exported type EtcdNode should have comment or be unexported (golint)
    • Line 39: warning: exported type EtcdConfig should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type EtcdDiscovery should be of the form "EtcdDiscovery ..." (with optional leading article) (golint)
    • Line 57: warning: exported method EtcdDiscovery.Start should have comment or be unexported (golint)
    • Line 75: warning: exported method EtcdDiscovery.Close should have comment or be unexported (golint)
    • Line 140: warning: exported method EtcdDiscovery.Watch should have comment or be unexported (golint)
    • Line 180: warning: exported method EtcdDiscovery.WatchMulti should have comment or be unexported (golint)
    • Line 190: warning: exported method EtcdDiscovery.AddNode should have comment or be unexported (golint)
    • Line 203: warning: exported method EtcdDiscovery.DelNode should have comment or be unexported (golint)
    • Line 231: warning: exported method EtcdDiscovery.GetNodeInfo should have comment or be unexported (golint)
    • gd/service/register/etcd.go
    • Line 32: warning: comment on exported type EtcdConfig should be of the form "EtcdConfig ..." (with optional leading article) (golint)
    • Line 44: warning: exported type EtcdRegister should have comment or be unexported (golint)
    • Line 57: warning: exported method EtcdRegister.Start should have comment or be unexported (golint)
    • Line 75: warning: exported method EtcdRegister.Close should have comment or be unexported (golint)
    • Line 251: warning: exported method EtcdRegister.SetOffline should have comment or be unexported (golint)
    • Line 255: warning: exported method EtcdRegister.SetRootNode should have comment or be unexported (golint)
    • Line 265: warning: exported method EtcdRegister.GetRootNode should have comment or be unexported (golint)
    • Line 269: warning: exported method EtcdRegister.SetHeartBeat should have comment or be unexported (golint)
    • gd/runtime/stat/stat_test.go
    • Line 48: warning: don't use underscores in Go names; func test_stat should be testStat (golint)
    • Line 63: warning: don't use underscores in Go names; func test_simple_app_stat should be testSimpleAppStat (golint)
    • Line 73: warning: don't use underscores in Go names; func test_simple_stat should be testSimpleStat (golint)
    • gd/net/dgrpc/recover.go
    • Line 18: warning: exported function WithRecoveryInterceptor should have comment or be unexported (golint)
    • Line 30: warning: exported function DefaultRecoveryHandler should have comment or be unexported (golint)
    • gd/runtime/gl/map.go
    • Line 10: warning: exported type Shard should have comment or be unexported (golint)
    • Line 15: warning: exported type ConcurrentMap should have comment or be unexported (golint)
    • Line 20: warning: exported function NewShard should have comment or be unexported (golint)
    • Line 35: warning: exported method ConcurrentMap.GetShard should have comment or be unexported (golint)
    • Line 39: warning: exported method ConcurrentMap.Set should have comment or be unexported (golint)
    • Line 47: warning: exported method ConcurrentMap.Get should have comment or be unexported (golint)
    • Line 55: warning: exported method ConcurrentMap.Remove should have comment or be unexported (golint)
    • gd/service/register/zk.go
    • Line 22: warning: exported type ZkConfig should have comment or be unexported (golint)
    • Line 31: warning: exported type ZkRegister should have comment or be unexported (golint)
    • Line 42: warning: exported method ZkRegister.Start should have comment or be unexported (golint)
    • Line 60: warning: exported method ZkRegister.Close should have comment or be unexported (golint)
    • Line 163: warning: exported method ZkRegister.SetOffline should have comment or be unexported (golint)
    • Line 167: warning: exported method ZkRegister.SetRootNode should have comment or be unexported (golint)
    • Line 177: warning: exported method ZkRegister.GetRootNode should have comment or be unexported (golint)
    • Line 181: warning: exported method ZkRegister.SetHeartBeat should have comment or be unexported (golint)
    • gd/runtime/helper/helper.go
    • Line 24: warning: exported const ProfDumpDir should have comment or be unexported (golint)
    • Line 25: warning: exported const ProfDumpBackupDir should have comment or be unexported (golint)
    • Line 27: warning: exported type UpdateFunc should have comment or be unexported (golint)
    • Line 28: warning: exported type FindFunc should have comment or be unexported (golint)
    • Line 29: warning: exported type PerfFunc should have comment or be unexported (golint)
    • Line 30: warning: exported type StatusFunc should have comment or be unexported (golint)
    • Line 31: warning: exported type DeployFunc should have comment or be unexported (golint)
    • Line 33: warning: exported type Helper should have comment or be unexported (golint)
    • Line 44: warning: exported method Helper.Start should have comment or be unexported (golint)
    • Line 83: warning: exported method Helper.Close should have comment or be unexported (golint)
    • Line 87: warning: exported function WriteHeap should have comment or be unexported (golint)
    • Line 127: warning: exported function WriteMutex should have comment or be unexported (golint)
    • Line 140: warning: exported function WriteThreadCreate should have comment or be unexported (golint)
    • Line 153: warning: exported function WriteBlock should have comment or be unexported (golint)
    • Line 179: warning: exported function CpuProfiling should have comment or be unexported (golint)
    • Line 200: warning: exported function WriteGoroutine should have comment or be unexported (golint)
    • gd/utls/filepath.go
    • Line 16: warning: exported function Exists should have comment or be unexported (golint)
    • Line 25: warning: exported function IsLink should have comment or be unexported (golint)
    • Line 34: warning: exported function IsEmpty should have comment or be unexported (golint)
    • Line 49: warning: exported function ListDir should have comment or be unexported (golint)
    • gd/net/dhttp/wrap.go
    • Line 22: warning: exported function CheckWrap should have comment or be unexported (golint)
    • Line 49: warning: comment on exported function Wrap should be of the form "Wrap ..." (golint)
    • Line 162: warning: exported function Return should have comment or be unexported (golint)
    • Line 175: warning: exported function ParseRet should have comment or be unexported (golint)
    • gd/runtime/inject/global.go
    • Line 14: warning: exported function InitDefault should have comment or be unexported (golint)
    • Line 18: warning: exported function Close should have comment or be unexported (golint)
    • Line 22: warning: exported function SetLogger should have comment or be unexported (golint)
    • Line 26: warning: exported function RegisterOrFailNoFill should have comment or be unexported (golint)
    • Line 30: warning: exported function RegWithoutInjection should have comment or be unexported (golint)
    • Line 34: warning: exported function Reg should have comment or be unexported (golint)
    • Line 38: warning: exported function RegisterOrFail should have comment or be unexported (golint)
    • Line 42: warning: exported function Register should have comment or be unexported (golint)
    • Line 46: warning: exported function RegisterOrFailSingleNoFill should have comment or be unexported (golint)
    • Line 50: warning: exported function RegisterOrFailSingle should have comment or be unexported (golint)
    • Line 54: warning: exported function RegisterSingle should have comment or be unexported (golint)
    • Line 58: warning: exported function FindByType should have comment or be unexported (golint)
    • Line 66: warning: exported function Find should have comment or be unexported (golint)
    • Line 74: warning: exported function GraphLen should have comment or be unexported (golint)
    • Line 78: warning: exported function GraphPrint should have comment or be unexported (golint)
    • gd/net/dogrpc/client.go
    • Line 19: warning: exported type Client should have comment or be unexported (golint)
    • Line 39: warning: exported method Client.Start should have comment or be unexported (golint)
    • Line 91: warning: exported method Client.Stop should have comment or be unexported (golint)
    • Line 330: warning: exported method Client.Call should have comment or be unexported (golint)
    • Line 334: warning: exported method Client.CallRetry should have comment or be unexported (golint)
    • Line 338: warning: comment on exported method Client.SendUDP should be of the form "SendUDP ..." (golint)
    • Line 346: warning: exported method Client.CallTimeout should have comment or be unexported (golint)
    • Line 378: warning: exported method Client.CallAsync should have comment or be unexported (golint)
    • Line 431: warning: exported type AsyncResult should have comment or be unexported (golint)
    • Line 441: warning: exported method AsyncResult.Cancel should have comment or be unexported (golint)
    • gd/net/dogrpc/rpc_client.go
    • Line 26: warning: exported type RpcClient should have comment or be unexported (golint)
    • Line 40: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method RpcClient.AddAddr should be of the form "AddAddr ..." (golint)
    • Line 110: warning: comment on exported method RpcClient.Connect should be of the form "Connect ..." (golint)
    • gd/net/dogrpc/server.go
    • Line 20: warning: exported type HandlerFunc should have comment or be unexported (golint)
    • Line 22: warning: exported type Server should have comment or be unexported (golint)
    • Line 37: warning: exported method Server.Start should have comment or be unexported (golint)
    • Line 84: warning: exported method Server.Serve should have comment or be unexported (golint)
    • Line 102: warning: exported method Server.Stop should have comment or be unexported (golint)
    • gd/utls/convert_util.go
    • Line 14: warning: exported function MustString should have comment or be unexported (golint)
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 46: warning: exported function TryString should have comment or be unexported (golint)
    • Line 71: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 78: warning: exported function MustInt64 should have comment or be unexported (golint)
    • Line 127: warning: exported function MustFloat64 should have comment or be unexported (golint)
    • Line 164: warning: comment on exported function StringStringMap2StringInterfaceMap should be of the form "StringStringMap2StringInterfaceMap ..." (golint)
    • Line 173: warning: exported function ConvertToInt64 should have comment or be unexported (golint)
    • Line 224: warning: exported function SliceCutter should have comment or be unexported (golint)
    • Line 251: warning: exported function MustStringArray should have comment or be unexported (golint)
    • Line 273: warning: exported function MustInt64Array should have comment or be unexported (golint)
    • gd/net/dgrpc/server.go
    • Line 24: warning: exported const DefaultCertServiceName should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type IRegisterHandler should have comment or be unexported (golint)
    • Line 35: warning: exported type GrpcServer should have comment or be unexported (golint)
    • Line 50: warning: exported method GrpcServer.Start should have comment or be unexported (golint)
    • Line 92: warning: exported method GrpcServer.Close should have comment or be unexported (golint)
    • Line 98: warning: exported method GrpcServer.DefaultServer should have comment or be unexported (golint)
    • Line 145: warning: exported method GrpcServer.GetCredentialsByCA should have comment or be unexported (golint)
    • Line 172: warning: exported method GrpcServer.GetTLSCredentials should have comment or be unexported (golint)
    • gd/net/dogrpc/log_filter.go
    • Line 15: warning: comment on exported type LogFilter should be of the form "LogFilter ..." (with optional leading article) (golint)
    • Line 23: warning: exported method LogFilter.SetNext should have comment or be unexported (golint)
    • Line 27: warning: exported method LogFilter.Handle should have comment or be unexported (golint)
    • gd/dlog/pattlog.go
    • Line 17: warning: exported const FORMAT_DEFAULT should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: comment on exported function FormatLogRecord should be of the form "FormatLogRecord ..." (golint)
    • Line 128: warning: comment on exported type FormatLogWriter should be of the form "FormatLogWriter ..." (with optional leading article) (golint)
    • Line 134: warning: comment on exported function NewFormatLogWriter should be of the form "NewFormatLogWriter ..." (golint)
    • Line 150: warning: comment on exported method FormatLogWriter.LogWrite should be of the form "LogWrite ..." (golint)
    • gd/dlog/wrapper.go
    • Line 16: warning: exported var Global should have comment or be unexported (golint)
    • Line 23: warning: comment on exported function LoadConfiguration should be of the form "LoadConfiguration ..." (golint)
    • Line 28: warning: exported function LoadConfigurationByXml should have comment or be unexported (golint)
    • Line 32: warning: comment on exported function AddFilter should be of the form "AddFilter ..." (golint)
    • Line 37: warning: comment on exported function Close should be of the form "Close ..." (golint)
    • Line 42: warning: exported function Crash should have comment or be unexported (golint)
    • Line 51: warning: exported function IsEnabledFor should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function Crashf should be of the form "Crashf ..." (golint)
    • Line 62: warning: comment on exported function Exit should be of the form "Exit ..." (golint)
    • Line 71: warning: comment on exported function Exitf should be of the form "Exitf ..." (golint)
    • Line 78: warning: comment on exported function Stderr should be of the form "Stderr ..." (golint)
    • Line 85: warning: comment on exported function Stderrf should be of the form "Stderrf ..." (golint)
    • Line 90: warning: comment on exported function Stdout should be of the form "Stdout ..." (golint)
    • Line 97: warning: comment on exported function Stdoutf should be of the form "Stdoutf ..." (golint)
    • Line 102: warning: exported function GetLevel should have comment or be unexported (golint)
    • Line 110: warning: exported function SetLevel should have comment or be unexported (golint)
    • Line 117: warning: comment on exported function Log should be of the form "Log ..." (golint)
    • Line 123: warning: comment on exported function Logf should be of the form "Logf ..." (golint)
    • Line 129: warning: comment on exported function Logc should be of the form "Logc ..." (golint)
    • Line 135: warning: comment on exported function Finest should be of the form "Finest ..." (golint)
    • Line 154: warning: comment on exported function Fine should be of the form "Fine ..." (golint)
    • Line 173: warning: comment on exported function Debug should be of the form "Debug ..." (golint)
    • Line 197: warning: exported function DebugT should have comment or be unexported (golint)
    • Line 215: warning: comment on exported function Trace should be of the form "Trace ..." (golint)
    • Line 236: warning: exported function TraceT should have comment or be unexported (golint)
    • Line 254: warning: comment on exported function Info should be of the form "Info ..." (golint)
    • Line 275: warning: exported function InfoT should have comment or be unexported (golint)
    • Line 293: warning: comment on exported function Warn should be of the form "Warn ..." (golint)
    • Line 316: warning: exported function WarnT should have comment or be unexported (golint)
    • Line 335: warning: comment on exported function Error should be of the form "Error ..." (golint)
    • Line 358: warning: exported function ErrorT should have comment or be unexported (golint)
    • Line 377: warning: comment on exported function Critical should be of the form "Critical ..." (golint)
    • Line 400: warning: exported function CriticalT should have comment or be unexported (golint)
    • gd/service/encoding.go
    • Line 8: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 15: warning: exported type DefaultNodeInfo should have comment or be unexported (golint)
    • Line 22: warning: exported method DefaultNodeInfo.GetIp should have comment or be unexported (golint)
    • Line 26: warning: exported method DefaultNodeInfo.GetPort should have comment or be unexported (golint)
    • Line 30: warning: exported method DefaultNodeInfo.GetOffline should have comment or be unexported (golint)
    • Line 34: warning: exported method DefaultNodeInfo.GetWeight should have comment or be unexported (golint)
    • gd/databases/mysqldb/dbwrap.go
    • Line 21: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 27: warning: exported const PcMysqlReadFail should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type DbWrap should have comment or be unexported (golint)
    • Line 56: warning: exported function NewDbWrapped should have comment or be unexported (golint)
    • Line 60: warning: exported function NewDbWrappedRetry should have comment or be unexported (golint)
    • Line 64: warning: exported function NewDbWrappedRetryProxy should have comment or be unexported (golint)
    • Line 97: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 105: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 113: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 129: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 137: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 145: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 153: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 161: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 166: warning: exported method DbWrap.Query should have comment or be unexported (golint)
    • Line 230: warning: exported method DbWrap.QueryRow should have comment or be unexported (golint)
    • Line 235: warning: exported method DbWrap.Exec should have comment or be unexported (golint)
    • Line 239: warning: exported method DbWrap.ExecContext should have comment or be unexported (golint)
    • Line 267: warning: exported type TransactionExec should have comment or be unexported (golint)
    • Line 269: warning: exported method DbWrap.ExecTransaction should have comment or be unexported (golint)
    • Line 312: warning: exported method DbWrap.Close should have comment or be unexported (golint)
    • gd/databases/mysqldb/utils.go
    • Line 23: warning: exported function IsDbConnError should have comment or be unexported (golint)
    • Line 47: warning: exported function GetFieldsName should have comment or be unexported (golint)
    • Line 55: warning: exported function GetFieldsNameArray should have comment or be unexported (golint)
    • Line 108: warning: exported function GetFields should have comment or be unexported (golint)
    • Line 193: warning: exported type SqlCondition should have comment or be unexported (golint)
    • Line 212: warning: exported function NewSqlCondition should have comment or be unexported (golint)
    • Line 220: warning: exported method SqlCondition.WithTablePrefix should have comment or be unexported (golint)
    • Line 225: warning: exported method SqlCondition.WithCondition should have comment or be unexported (golint)
    • Line 243: warning: exported method SqlCondition.WithOrder should have comment or be unexported (golint)
    • Line 255: warning: exported method SqlCondition.WithLimit should have comment or be unexported (golint)
    • Line 262: warning: exported method SqlCondition.WithOffset should have comment or be unexported (golint)
    • Line 269: warning: comment on exported method SqlCondition.Valid should be of the form "Valid ..." (golint)
    • Line 285: warning: comment on exported method SqlCondition.BuildWhereSql should be of the form "BuildWhereSql ..." (golint)
    • Line 295: warning: comment on exported method SqlCondition.BuildShardWhereSql should be of the form "BuildShardWhereSql ..." (golint)
    • Line 372: warning: exported function IsTimeoutError should have comment or be unexported (golint)
    • Line 391: warning: exported function MysqlEscapeString should have comment or be unexported (golint)
    • Line 429: warning: exported function GetDataStructFields should have comment or be unexported (golint)
    • Line 447: warning: exported function GetDataStructValues should have comment or be unexported (golint)
    • Line 457: warning: exported function GetDataStructDests should have comment or be unexported (golint)
    • gd/net/dhttp/server.go
    • Line 18: warning: exported type HttpServerInit should have comment or be unexported (golint)
    • Line 20: warning: exported type HttpServer should have comment or be unexported (golint)
    • Line 37: warning: exported method HttpServer.Start should have comment or be unexported (golint)
    • Line 81: warning: exported method HttpServer.Close should have comment or be unexported (golint)
    • Line 103: warning: exported method HttpServer.CheckHandle should have comment or be unexported (golint)
    • Line 147: warning: comment on exported method HttpServer.Handle should be of the form "Handle ..." (golint)
    • Line 155: warning: exported method HttpServer.POST should have comment or be unexported (golint)
    • Line 161: warning: exported method HttpServer.GET should have comment or be unexported (golint)
    • Line 167: warning: exported method HttpServer.DELETE should have comment or be unexported (golint)
    • Line 173: warning: exported method HttpServer.PATCH should have comment or be unexported (golint)
    • Line 179: warning: exported method HttpServer.PUT should have comment or be unexported (golint)
    • Line 185: warning: exported method HttpServer.OPTIONS should have comment or be unexported (golint)
    • gd/runtime/gl/log.go
    • Line 10: warning: exported type Logger should have comment or be unexported (golint)
    • Line 16: warning: exported function SetLogger should have comment or be unexported (golint)
    • gd/service/discovery/zk.go
    • Line 21: warning: exported type ZkNode should have comment or be unexported (golint)
    • Line 29: warning: exported type ZkConfig should have comment or be unexported (golint)
    • Line 33: warning: comment on exported type ZkDiscovery should be of the form "ZkDiscovery ..." (with optional leading article) (golint)
    • Line 46: warning: exported method ZkDiscovery.Start should have comment or be unexported (golint)
    • Line 64: warning: exported method ZkDiscovery.Close should have comment or be unexported (golint)
    • Line 110: warning: exported method ZkDiscovery.Watch should have comment or be unexported (golint)
    • Line 147: warning: exported method ZkDiscovery.WatchMulti should have comment or be unexported (golint)
    • Line 157: warning: exported method ZkDiscovery.AddNode should have comment or be unexported (golint)
    • Line 169: warning: exported method ZkDiscovery.DelNode should have comment or be unexported (golint)
    • Line 197: warning: exported method ZkDiscovery.GetNodeInfo should have comment or be unexported (golint)
    • gd/runtime/helper/runtime_stats.go
    • Line 50: warning: exported function FormatMemStats should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function RuntimeStats should be of the form "RuntimeStats ..." (golint)
    • Line 72: warning: exported function GcStats should have comment or be unexported (golint)
    • Line 85: warning: exported function MemStats2 should have comment or be unexported (golint)
    • Line 93: warning: exported function MemStats should have comment or be unexported (golint)
    • gd/utls/utls.go
    • Line 43: warning: exported function LoadJsonToObject should have comment or be unexported (golint)
    • Line 56: warning: exported function FuncName should have comment or be unexported (golint)
    • Line 62: warning: exported function HumanSize should have comment or be unexported (golint)
    • Line 81: warning: comment on exported function ParseMemorySize should be of the form "ParseMemorySize ..." (golint)
    • Line 109: warning: comment on exported function Marshal should be of the form "Marshal ..." (golint)
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 126: warning: exported function WithRecover should have comment or be unexported (golint)
    • Line 197: warning: exported function GdEncode should have comment or be unexported (golint)
    • Line 207: warning: exported function GdDecode should have comment or be unexported (golint)
    • Line 225: warning: exported function RandString should have comment or be unexported (golint)
    • Line 234: warning: exported function EnsureDir should have comment or be unexported (golint)
    • Line 238: warning: exported function PathExists should have comment or be unexported (golint)
    • Line 249: warning: exported function Store2File should have comment or be unexported (golint)
    • Line 273: warning: exported function TraceId should have comment or be unexported (golint)
    • Line 284: warning: exported function FatalWithSmsAlert should have comment or be unexported (golint)
    • gd/net/dhttp/const.go
    • Line 9: warning: exported const RemoteIP should have comment (or a comment on this block) or be unexported (golint)
    • gd/net/dogrpc/transport.go
    • Line 15: warning: exported const DefaultDialNetWork should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type DialFunc should have comment or be unexported (golint)
    • Line 27: warning: exported type Listener should have comment or be unexported (golint)
    • gd/dlog/socklog.go
    • Line 15: warning: comment on exported type SocketLogWriter should be of the form "SocketLogWriter ..." (with optional leading article) (golint)
    • Line 18: warning: comment on exported method SocketLogWriter.LogWrite should be of the form "LogWrite ..." (golint)
    • Line 23: warning: exported method SocketLogWriter.Close should have comment or be unexported (golint)
    • Line 27: warning: exported function NewSocketLogWriter should have comment or be unexported (golint)
    • gd/dlog/termlog.go
    • Line 18: warning: comment on exported type ConsoleLogWriter should be of the form "ConsoleLogWriter ..." (with optional leading article) (golint)
    • Line 26: warning: comment on exported function NewConsoleLogWriter should be of the form "NewConsoleLogWriter ..." (golint)
    • Line 36: warning: exported method ConsoleLogWriter.SetFormat should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method ConsoleLogWriter.LogWrite should be of the form "LogWrite ..." (golint)
    • gd/databases/mongodb/db.go
    • Line 24: warning: exported const MongoCommonCostMax should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type MongoConfig should have comment or be unexported (golint)
    • Line 53: warning: exported type MongoClient should have comment or be unexported (golint)
    • Line 65: warning: exported method MongoClient.Start should have comment or be unexported (golint)
    • Line 83: warning: exported method MongoClient.Close should have comment or be unexported (golint)
    • Line 252: warning: exported method MongoClient.Insert should have comment or be unexported (golint)
    • Line 267: warning: exported method MongoClient.UpdateOne should have comment or be unexported (golint)
    • Line 282: warning: exported method MongoClient.UpdateMany should have comment or be unexported (golint)
    • Line 297: warning: exported method MongoClient.DeleteOne should have comment or be unexported (golint)
    • Line 312: warning: exported method MongoClient.DeleteMany should have comment or be unexported (golint)
    • Line 327: warning: exported method MongoClient.FindOne should have comment or be unexported (golint)
    • Line 337: warning: exported method MongoClient.Find should have comment or be unexported (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell95%

Misspell Finds commonly misspelled English words

    • gd/net/dhttp/client.go
    • Line 837: warning: "transfrom" is a misspelling of "transform" (misspell)
    • Line 952: warning: "exsiting" is a misspelling of "existing" (misspell)
    • Line 1347: warning: "dependends" is a misspelling of "depended" (misspell)