Preparing report...

Report for github.com/yoyofx/yoyogo

A    Great!    Found 251 issues across 309 files

Tweet

gofmt98%

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!


gocyclo98%

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.


golint19%

Golint is a linter for Go source code.

    • yoyogo/examples/simpleweb/contollers/dbcontroller.go
    • Line 10: warning: exported type DbController should have comment or be unexported (golint)
    • Line 14: warning: exported function NewDbController should have comment or be unexported (golint)
    • Line 18: warning: exported method DbController.GetMysql should have comment or be unexported (golint)
    • Line 29: warning: exported method DbController.GetRedis should have comment or be unexported (golint)
    • yoyogo/grpc/servicecontext.go
    • Line 8: warning: exported type ServiceContext should have comment or be unexported (golint)
    • Line 13: warning: exported function NewServiceContext should have comment or be unexported (golint)
    • Line 17: warning: exported method ServiceContext.Register should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/etcd/registrar.go
    • Line 18: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 26: warning: exported function NewServerDiscoveryWithDI should have comment or be unexported (golint)
    • Line 41: warning: exported function NewServerDiscovery should have comment or be unexported (golint)
    • Line 66: warning: exported method Registrar.GetName should have comment or be unexported (golint)
    • Line 75: warning: exported method Registrar.Register should have comment or be unexported (golint)
    • Line 125: warning: exported method Registrar.Update should have comment or be unexported (golint)
    • Line 129: warning: exported method Registrar.Unregister should have comment or be unexported (golint)
    • Line 142: warning: exported method Registrar.GetHealthyInstances should have comment or be unexported (golint)
    • Line 146: warning: exported method Registrar.GetAllInstances should have comment or be unexported (golint)
    • Line 178: warning: exported method Registrar.Destroy should have comment or be unexported (golint)
    • Line 182: warning: exported method Registrar.Watch should have comment or be unexported (golint)
    • Line 186: warning: exported method Registrar.GetAllServices should have comment or be unexported (golint)
    • yoyogo/web/view/parser.go
    • Line 18: warning: exported function TextRender should have comment or be unexported (golint)
    • Line 30: warning: exported function HtmlRender should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/consul/client.go
    • Line 9: warning: exported type Option should have comment or be unexported (golint)
    • Line 17: warning: exported type Client should have comment or be unexported (golint)
    • Line 36: warning: exported method Client.Register should have comment or be unexported (golint)
    • Line 40: warning: exported method Client.Deregister should have comment or be unexported (golint)
    • Line 44: warning: exported method Client.GetService should have comment or be unexported (golint)
    • Line 48: warning: exported method Client.GetServices should have comment or be unexported (golint)
    • Line 51: warning: should omit 2nd value from range; this loop is equivalent to `for s := range ...` (golint)
    • yoyogo/abstractions/health/status.go
    • Line 3: warning: exported type ComponentStatus should have comment or be unexported (golint)
    • Line 18: warning: exported function Down should have comment or be unexported (golint)
    • Line 24: warning: exported function Up should have comment or be unexported (golint)
    • Line 30: warning: exported method ComponentStatus.WithDetail should have comment or be unexported (golint)
    • Line 35: warning: exported method ComponentStatus.GetName should have comment or be unexported (golint)
    • Line 39: warning: exported method ComponentStatus.GetStatus should have comment or be unexported (golint)
    • Line 43: warning: exported method ComponentStatus.SetStatus should have comment or be unexported (golint)
    • Line 47: warning: exported method ComponentStatus.Build should have comment or be unexported (golint)
    • yoyogo/console/applicationbuilder.go
    • Line 5: warning: exported type ApplicationBuilder should have comment or be unexported (golint)
    • Line 9: warning: exported method ApplicationBuilder.Build should have comment or be unexported (golint)
    • Line 13: warning: exported method ApplicationBuilder.SetHostBuildContext should have comment or be unexported (golint)
    • Line 17: warning: exported function NewApplicationBuilder should have comment or be unexported (golint)
    • yoyogo/examples/mvc/controllers/democontroller.go
    • Line 8: warning: exported type DemoController should have comment or be unexported (golint)
    • Line 12: warning: exported function NewDemoController should have comment or be unexported (golint)
    • Line 16: warning: comment on exported type RegisterRequest should be of the form "RegisterRequest ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported method DemoController.Register should be of the form "Register ..." (golint)
    • Line 28: warning: comment on exported method DemoController.GetInfo should be of the form "GetInfo ..." (golint)
    • yoyogo/pkg/cache/redis/GoRedisStandaloneOps.go
    • Line 14: warning: exported type GoRedisStandaloneOps should have comment or be unexported (golint)
    • Line 18: warning: exported function NewStandaloneOps should have comment or be unexported (golint)
    • Line 27: warning: exported method GoRedisStandaloneOps.Ping should have comment or be unexported (golint)
    • Line 31: warning: exported method GoRedisStandaloneOps.Close should have comment or be unexported (golint)
    • Line 37: warning: exported method GoRedisStandaloneOps.GetRange should have comment or be unexported (golint)
    • Line 41: warning: exported method GoRedisStandaloneOps.StrLen should have comment or be unexported (golint)
    • Line 45: warning: exported method GoRedisStandaloneOps.Append should have comment or be unexported (golint)
    • Line 49: warning: exported method GoRedisStandaloneOps.DeleteKey should have comment or be unexported (golint)
    • Line 53: warning: exported method GoRedisStandaloneOps.Exists should have comment or be unexported (golint)
    • Line 58: warning: exported method GoRedisStandaloneOps.SetExpire should have comment or be unexported (golint)
    • Line 62: warning: exported method GoRedisStandaloneOps.TTL should have comment or be unexported (golint)
    • Line 74: warning: exported method GoRedisStandaloneOps.SetValue should have comment or be unexported (golint)
    • Line 78: warning: exported method GoRedisStandaloneOps.Set should have comment or be unexported (golint)
    • Line 82: warning: exported method GoRedisStandaloneOps.SetNX should have comment or be unexported (golint)
    • Line 86: warning: exported method GoRedisStandaloneOps.GetValue should have comment or be unexported (golint)
    • Line 90: warning: exported method GoRedisStandaloneOps.Get should have comment or be unexported (golint)
    • Line 94: warning: exported method GoRedisStandaloneOps.MultiGet should have comment or be unexported (golint)
    • Line 98: warning: exported method GoRedisStandaloneOps.IncrBy should have comment or be unexported (golint)
    • Line 102: warning: exported method GoRedisStandaloneOps.RandomKey should have comment or be unexported (golint)
    • Line 106: warning: comment on exported method GoRedisStandaloneOps.LPop should be of the form "LPop ..." (golint)
    • Line 112: warning: exported method GoRedisStandaloneOps.LIndex should have comment or be unexported (golint)
    • Line 116: warning: exported method GoRedisStandaloneOps.LPush should have comment or be unexported (golint)
    • Line 123: warning: exported method GoRedisStandaloneOps.GeoAddArr should have comment or be unexported (golint)
    • Line 136: warning: error should be the last type when returning multiple items (golint)
    • Line 136: warning: exported method GoRedisStandaloneOps.GeoPos should have comment or be unexported (golint)
    • Line 152: warning: error should be the last type when returning multiple items (golint)
    • Line 152: warning: exported method GoRedisStandaloneOps.GeoDist should have comment or be unexported (golint)
    • Line 161: warning: error should be the last type when returning multiple items (golint)
    • Line 161: warning: exported method GoRedisStandaloneOps.GeoRadius should have comment or be unexported (golint)
    • Line 190: warning: error should be the last type when returning multiple items (golint)
    • Line 190: warning: exported method GoRedisStandaloneOps.GeoRadiusByMember should have comment or be unexported (golint)
    • Line 220: warning: exported method GoRedisStandaloneOps.LRange should have comment or be unexported (golint)
    • Line 224: warning: exported method GoRedisStandaloneOps.LTrim should have comment or be unexported (golint)
    • Line 228: warning: exported method GoRedisStandaloneOps.RPop should have comment or be unexported (golint)
    • Line 232: warning: exported method GoRedisStandaloneOps.RPush should have comment or be unexported (golint)
    • Line 236: warning: exported method GoRedisStandaloneOps.LSet should have comment or be unexported (golint)
    • Line 240: warning: exported method GoRedisStandaloneOps.LSize should have comment or be unexported (golint)
    • Line 244: warning: exported method GoRedisStandaloneOps.LRemove should have comment or be unexported (golint)
    • Line 248: warning: exported method GoRedisStandaloneOps.SAdd should have comment or be unexported (golint)
    • Line 252: warning: exported method GoRedisStandaloneOps.SDiff should have comment or be unexported (golint)
    • Line 256: warning: exported method GoRedisStandaloneOps.SCard should have comment or be unexported (golint)
    • Line 260: warning: exported method GoRedisStandaloneOps.SInter should have comment or be unexported (golint)
    • Line 264: warning: exported method GoRedisStandaloneOps.SInterStore should have comment or be unexported (golint)
    • Line 268: warning: exported method GoRedisStandaloneOps.SIsMember should have comment or be unexported (golint)
    • Line 272: warning: exported method GoRedisStandaloneOps.SMembers should have comment or be unexported (golint)
    • Line 276: warning: exported method GoRedisStandaloneOps.SMove should have comment or be unexported (golint)
    • Line 280: warning: exported method GoRedisStandaloneOps.SPop should have comment or be unexported (golint)
    • Line 284: warning: exported method GoRedisStandaloneOps.SRandMembers should have comment or be unexported (golint)
    • Line 288: warning: exported method GoRedisStandaloneOps.SRem should have comment or be unexported (golint)
    • Line 292: warning: exported method GoRedisStandaloneOps.SUnion should have comment or be unexported (golint)
    • Line 296: warning: exported method GoRedisStandaloneOps.SUnionStore should have comment or be unexported (golint)
    • Line 300: warning: exported method GoRedisStandaloneOps.HDel should have comment or be unexported (golint)
    • Line 304: warning: exported method GoRedisStandaloneOps.HExists should have comment or be unexported (golint)
    • Line 308: warning: exported method GoRedisStandaloneOps.HGet should have comment or be unexported (golint)
    • Line 312: warning: exported method GoRedisStandaloneOps.HGetInt64 should have comment or be unexported (golint)
    • Line 316: warning: exported method GoRedisStandaloneOps.HGetFloat64 should have comment or be unexported (golint)
    • Line 320: warning: exported method GoRedisStandaloneOps.HGetAll should have comment or be unexported (golint)
    • Line 324: warning: exported method GoRedisStandaloneOps.HIncrBy should have comment or be unexported (golint)
    • Line 328: warning: exported method GoRedisStandaloneOps.HKeys should have comment or be unexported (golint)
    • Line 332: warning: exported method GoRedisStandaloneOps.HLen should have comment or be unexported (golint)
    • Line 336: warning: exported method GoRedisStandaloneOps.HMGet should have comment or be unexported (golint)
    • Line 340: warning: exported method GoRedisStandaloneOps.HSet should have comment or be unexported (golint)
    • Line 344: warning: exported method GoRedisStandaloneOps.HSetNX should have comment or be unexported (golint)
    • Line 348: warning: exported method GoRedisStandaloneOps.HVals should have comment or be unexported (golint)
    • Line 352: warning: exported method GoRedisStandaloneOps.ZAdd should have comment or be unexported (golint)
    • Line 356: warning: exported method GoRedisStandaloneOps.ZCard should have comment or be unexported (golint)
    • Line 360: warning: exported method GoRedisStandaloneOps.ZCount should have comment or be unexported (golint)
    • Line 364: warning: exported method GoRedisStandaloneOps.ZIncrby should have comment or be unexported (golint)
    • Line 368: warning: exported method GoRedisStandaloneOps.ZInterStore should have comment or be unexported (golint)
    • Line 393: warning: exported method GoRedisStandaloneOps.ZLexCount should have comment or be unexported (golint)
    • Line 397: warning: exported method GoRedisStandaloneOps.ZRange should have comment or be unexported (golint)
    • Line 401: warning: exported method GoRedisStandaloneOps.ZRangeByLex should have comment or be unexported (golint)
    • Line 410: warning: exported method GoRedisStandaloneOps.ZRangeByScore should have comment or be unexported (golint)
    • Line 419: warning: exported method GoRedisStandaloneOps.ZRank should have comment or be unexported (golint)
    • Line 423: warning: exported method GoRedisStandaloneOps.ZRem should have comment or be unexported (golint)
    • Line 427: warning: exported method GoRedisStandaloneOps.ZRemRangeByLex should have comment or be unexported (golint)
    • Line 431: warning: exported method GoRedisStandaloneOps.ZRemRangeByRank should have comment or be unexported (golint)
    • Line 435: warning: exported method GoRedisStandaloneOps.ZRevRange should have comment or be unexported (golint)
    • Line 439: warning: exported method GoRedisStandaloneOps.ZRevRangeWithScores should have comment or be unexported (golint)
    • Line 448: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 453: warning: exported method GoRedisStandaloneOps.ZRevRank should have comment or be unexported (golint)
    • Line 457: warning: exported method GoRedisStandaloneOps.ZScore should have comment or be unexported (golint)
    • yoyogo/abstractions/servicediscovery/uriparser.go
    • Line 11: warning: exported type UriEntry should have comment or be unexported (golint)
    • Line 18: warning: exported type UriParser should have comment or be unexported (golint)
    • Line 23: warning: exported function NewUriParser should have comment or be unexported (golint)
    • Line 46: warning: exported method UriParser.GetUriEntry should have comment or be unexported (golint)
    • Line 50: warning: exported method UriParser.Generate should have comment or be unexported (golint)
    • Line 54: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • yoyogo/abstractions/xlog/logrus_formatter.go
    • Line 49: warning: exported type ColorScheme should have comment or be unexported (golint)
    • Line 71: warning: exported type TextFormatter should have comment or be unexported (golint)
    • Line 162: warning: exported method TextFormatter.SetColorScheme should have comment or be unexported (golint)
    • Line 166: warning: exported method TextFormatter.Format should have comment or be unexported (golint)
    • yoyogo/web/router/defaultbuilder.go
    • Line 14: warning: exported type DefaultRouterBuilder should have comment or be unexported (golint)
    • Line 22: warning: exported function NewRouterBuilder should have comment or be unexported (golint)
    • Line 35: warning: exported method DefaultRouterBuilder.SetConfiguration should have comment or be unexported (golint)
    • Line 63: warning: exported method DefaultRouterBuilder.GetRouteInfo should have comment or be unexported (golint)
    • Line 67: warning: exported method DefaultRouterBuilder.GetConfiguration should have comment or be unexported (golint)
    • Line 71: warning: exported method DefaultRouterBuilder.UseMvc should have comment or be unexported (golint)
    • Line 79: warning: exported method DefaultRouterBuilder.IsMvc should have comment or be unexported (golint)
    • Line 83: warning: exported method DefaultRouterBuilder.GetMvcBuilder should have comment or be unexported (golint)
    • Line 87: warning: exported method DefaultRouterBuilder.Search should have comment or be unexported (golint)
    • Line 99: warning: exported method DefaultRouterBuilder.MapSet should have comment or be unexported (golint)
    • Line 108: warning: exported method DefaultRouterBuilder.Map should have comment or be unexported (golint)
    • Line 167: warning: exported method DefaultRouterBuilder.Group should have comment or be unexported (golint)
    • yoyogo/abstractions/xlog/logrus_logger.go
    • Line 8: warning: exported type LogrusLogger should have comment or be unexported (golint)
    • Line 16: warning: exported function GetXLogger should have comment or be unexported (golint)
    • Line 22: warning: exported function GetXLoggerWithFields should have comment or be unexported (golint)
    • Line 28: warning: exported function GetXLoggerWith should have comment or be unexported (golint)
    • Line 32: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 37: warning: exported function GetClassLogger should have comment or be unexported (golint)
    • Line 52: warning: exported method LogrusLogger.With should have comment or be unexported (golint)
    • Line 72: warning: exported method LogrusLogger.Debug should have comment or be unexported (golint)
    • Line 76: warning: exported method LogrusLogger.Info should have comment or be unexported (golint)
    • Line 80: warning: exported method LogrusLogger.Warning should have comment or be unexported (golint)
    • Line 90: warning: exported method LogrusLogger.SetClass should have comment or be unexported (golint)
    • Line 94: warning: exported method LogrusLogger.SetCustomLogFormat should have comment or be unexported (golint)
    • Line 98: warning: exported method LogrusLogger.SetDateFormat should have comment or be unexported (golint)
    • yoyogo/abstractions/health/builder.go
    • Line 3: warning: exported type Builder should have comment or be unexported (golint)
    • Line 7: warning: exported function NewHealthIndicator should have comment or be unexported (golint)
    • Line 11: warning: exported method Builder.Build should have comment or be unexported (golint)
    • yoyogo/web/webhostbuilder.go
    • Line 7: warning: exported type WebHostBuilder should have comment or be unexported (golint)
    • Line 11: warning: exported function NewWebHostBuilder should have comment or be unexported (golint)
    • yoyogo/web/actionresult/text.go
    • Line 9: warning: exported type Text should have comment or be unexported (golint)
    • Line 16: warning: exported method Text.Render should have comment or be unexported (golint)
    • Line 26: warning: exported method Text.WriteContentType should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/consul/watcher.go
    • Line 13: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 52: warning: exported method Watcher.Next should have comment or be unexported (golint)
    • Line 64: warning: exported method Watcher.Stop should have comment or be unexported (golint)
    • Line 91: warning: should omit 2nd value from range; this loop is equivalent to `for service := range ...` (golint)
    • Line 124: warning: should omit 2nd value from range; this loop is equivalent to `for service := range ...` (golint)
    • Line 286: warning: exported function CopyService should have comment or be unexported (golint)
    • yoyogo/web/mvc/action_filter_chain.go
    • Line 9: warning: comment on exported type ActionFilterContext should be of the form "ActionFilterContext ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported type ActionFilterChain should be of the form "ActionFilterChain ..." (with optional leading article) (golint)
    • Line 21: warning: comment on exported function NewActionFilterChain should be of the form "NewActionFilterChain ..." (golint)
    • Line 30: warning: comment on exported method ActionFilterChain.SetFilter should be of the form "SetFilter ..." (golint)
    • Line 35: warning: comment on exported method ActionFilterChain.GetFilter should be of the form "GetFilter ..." (golint)
    • Line 40: warning: comment on exported method ActionFilterChain.MatchPath should be of the form "MatchPath ..." (golint)
    • Line 46: warning: comment on exported method ActionFilterChain.MatchFilter should be of the form "MatchFilter ..." (golint)
    • yoyogo/web/router/endpointhandler.go
    • Line 17: warning: exported method EndPointRouterHandler.Invoke should have comment or be unexported (golint)
    • Line 27: warning: receiver name t should be consistent with previous receiver name endPoint for EndPointRouterHandler (golint)
    • Line 51: warning: receiver name t should be consistent with previous receiver name endPoint for EndPointRouterHandler (golint)
    • yoyogo/web/session/store/redisstorer.go
    • Line 13: warning: exported type Redis should have comment or be unexported (golint)
    • Line 18: warning: exported function NewRedis should have comment or be unexported (golint)
    • Line 24: warning: exported method Redis.NewID should have comment or be unexported (golint)
    • Line 28: warning: exported method Redis.GC should have comment or be unexported (golint)
    • Line 30: warning: exported method Redis.SetValue should have comment or be unexported (golint)
    • Line 35: warning: exported method Redis.GetValue should have comment or be unexported (golint)
    • Line 40: warning: exported method Redis.GetAllSessionId should have comment or be unexported (golint)
    • Line 44: warning: exported method Redis.Clear should have comment or be unexported (golint)
    • Line 48: warning: exported method Redis.Remove should have comment or be unexported (golint)
    • Line 52: warning: exported method Redis.UpdateLastTimeAccessed should have comment or be unexported (golint)
    • Line 56: warning: exported method Redis.SetMaxLifeTime should have comment or be unexported (golint)
    • yoyogo/utils/jwt/signing_method.go
    • Line 10: warning: comment on exported type SigningMethod should be of the form "SigningMethod ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported function RegisterSigningMethod should be of the form "RegisterSigningMethod ..." (golint)
    • Line 26: warning: comment on exported function GetSigningMethod should be of the form "GetSigningMethod ..." (golint)
    • yoyogo/grpc/hostbuilder.go
    • Line 5: warning: exported type HostBuilder should have comment or be unexported (golint)
    • Line 9: warning: exported function NewHostBuilder should have comment or be unexported (golint)
    • yoyogo/utils/jwt/ecdsa.go
    • Line 12: warning: comment on exported var ErrECDSAVerification should be of the form "ErrECDSAVerification ..." (golint)
    • Line 16: warning: comment on exported type SigningMethodECDSA should be of the form "SigningMethodECDSA ..." (with optional leading article) (golint)
    • Line 52: warning: exported method SigningMethodECDSA.Alg should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method SigningMethodECDSA.Verify should be of the form "Verify ..." (golint)
    • Line 93: 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 98: warning: comment on exported method SigningMethodECDSA.Sign should be of the form "Sign ..." (golint)
    • Line 145: 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)
    • yoyogo/web/middlewares/session.go
    • Line 12: warning: exported type SessionMiddleware should have comment or be unexported (golint)
    • Line 22: warning: exported type SessionConfig should have comment or be unexported (golint)
    • Line 27: warning: exported function NewSessionWith should have comment or be unexported (golint)
    • Line 41: warning: exported method SessionMiddleware.Inovke should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/zset.go
    • Line 5: warning: exported type ZSet should have comment or be unexported (golint)
    • Line 9: warning: exported type ZStoreEnum should have comment or be unexported (golint)
    • Line 12: warning: exported const MAX should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: exported type ZMember should have comment or be unexported (golint)
    • Line 22: warning: exported type ZStore should have comment or be unexported (golint)
    • Line 27: warning: exported method ZSet.ZAdd should have comment or be unexported (golint)
    • Line 31: warning: exported method ZSet.ZCard should have comment or be unexported (golint)
    • Line 35: warning: exported method ZSet.ZCount should have comment or be unexported (golint)
    • Line 39: warning: exported method ZSet.ZIncrby should have comment or be unexported (golint)
    • Line 43: warning: exported method ZSet.ZInterStore should have comment or be unexported (golint)
    • Line 47: warning: exported method ZSet.ZLexCount should have comment or be unexported (golint)
    • Line 51: warning: exported method ZSet.ZRange should have comment or be unexported (golint)
    • Line 55: warning: exported method ZSet.ZRangeByLex should have comment or be unexported (golint)
    • Line 59: warning: exported method ZSet.ZRangeByScore should have comment or be unexported (golint)
    • Line 63: warning: exported method ZSet.ZRank should have comment or be unexported (golint)
    • Line 67: warning: exported method ZSet.ZRem should have comment or be unexported (golint)
    • Line 71: warning: exported method ZSet.ZRemRangeByLex should have comment or be unexported (golint)
    • Line 75: warning: exported method ZSet.ZRemRangeByRank should have comment or be unexported (golint)
    • Line 79: warning: exported method ZSet.ZRevRange should have comment or be unexported (golint)
    • Line 83: warning: exported method ZSet.ZRevRangeWithScores should have comment or be unexported (golint)
    • Line 87: warning: exported method ZSet.ZRevRank should have comment or be unexported (golint)
    • Line 91: warning: exported method ZSet.ZScore should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/memory/watcher.go
    • Line 8: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 15: warning: exported function NewWatcher should have comment or be unexported (golint)
    • Line 23: warning: exported method Watcher.Next should have comment or be unexported (golint)
    • Line 37: warning: exported method Watcher.Stop should have comment or be unexported (golint)
    • yoyogo/web/webhostbuilderdecorator.go
    • Line 13: warning: exported type WebHostBuilderDecorator should have comment or be unexported (golint)
    • Line 39: warning: comment on exported method WebHostBuilderDecorator.OverrideIOCInnerConfigures should be of the form "OverrideIOCInnerConfigures ..." (golint)
    • yoyogo/web/actionresult/redirect.go
    • Line 8: warning: exported type Redirect should have comment or be unexported (golint)
    • Line 14: warning: exported method Redirect.WriteContentType should have comment or be unexported (golint)
    • Line 16: warning: exported method Redirect.Render should have comment or be unexported (golint)
    • yoyogo/web/context/httpcontext_renderfunc.go
    • Line 9: warning: exported method HttpContext.HTML should have comment or be unexported (golint)
    • Line 19: warning: exported method HttpContext.IndentedJSON should have comment or be unexported (golint)
    • Line 23: warning: exported method HttpContext.SecureJSON should have comment or be unexported (golint)
    • Line 27: warning: exported method HttpContext.JSONP should have comment or be unexported (golint)
    • Line 44: warning: exported method HttpContext.JSON should have comment or be unexported (golint)
    • Line 79: warning: comment on exported method HttpContext.Text should be of the form "Text ..." (golint)
    • Line 84: warning: exported method HttpContext.File should have comment or be unexported (golint)
    • Line 88: warning: exported method HttpContext.FileStream should have comment or be unexported (golint)
    • yoyogo/web/mvc/router_handler.go
    • Line 11: warning: exported type RouterHandler should have comment or be unexported (golint)
    • Line 18: warning: exported function NewMvcRouterHandler should have comment or be unexported (golint)
    • Line 25: warning: exported method RouterHandler.Invoke should have comment or be unexported (golint)
    • Line 103: warning: exported method RouterHandler.MatchFilters should have comment or be unexported (golint)
    • yoyogo/examples/wetodohub/controllers/hubcontroller.go
    • Line 14: warning: comment on exported type HubController should be of the form "HubController ..." (with optional leading article) (golint)
    • Line 22: warning: exported function NewHubController should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method HubController.GetWs should be of the form "GetWs ..." (golint)
    • Line 37: warning: exported method HubController.GetTodoList should have comment or be unexported (golint)
    • Line 47: warning: exported method HubController.PostTodoSync should have comment or be unexported (golint)
    • yoyogo/web/captcha/image.go
    • Line 9: warning: comment on exported function CreateImage should be of the form "CreateImage ..." (golint)
    • Line 24: warning: exported function Validation should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/kv.go
    • Line 5: warning: exported type KV should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method KV.SetString should be of the form "SetString ..." (golint)
    • Line 34: warning: comment on exported method KV.GetString should be of the form "GetString ..." (golint)
    • Line 39: warning: comment on exported method KV.SetIfAbsent should be of the form "SetIfAbsent ..." (golint)
    • yoyogo/pkg/servicediscovery/memory/cache.go
    • Line 5: warning: exported type MemoryCache should have comment or be unexported (golint)
    • Line 10: warning: exported method MemoryCache.GetService should have comment or be unexported (golint)
    • Line 17: warning: exported method MemoryCache.Stop should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/hash.go
    • Line 3: warning: exported type Hash should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method Hash.PutIfAbsent should be of the form "PutIfAbsent ..." (golint)
    • yoyogo/web/middlewares/static.go
    • Line 11: warning: exported type StaticOption should have comment or be unexported (golint)
    • Line 17: warning: exported type Static should have comment or be unexported (golint)
    • Line 21: warning: exported function NewStatic should have comment or be unexported (golint)
    • Line 34: warning: exported function NewStaticWithConfig should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 45: warning: exported method Static.Inovke should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/client.go
    • Line 7: warning: exported type Client should have comment or be unexported (golint)
    • Line 11: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 15: warning: exported method Client.GetAllInstances should have comment or be unexported (golint)
    • Line 19: warning: exported method Client.GetAllServices should have comment or be unexported (golint)
    • Line 27: warning: exported method Client.GetAllServiceNames should have comment or be unexported (golint)
    • Line 36: warning: exported method Client.Watch should have comment or be unexported (golint)
    • Line 40: warning: exported method Client.GetService should have comment or be unexported (golint)
    • yoyogo/abstractions/servicediscovery/serviceinstance.go
    • Line 71: warning: exported method DefaultServiceInstance.GetWeight should have comment or be unexported (golint)
    • Line 75: warning: exported method DefaultServiceInstance.GetTags should have comment or be unexported (golint)
    • Line 79: warning: exported method DefaultServiceInstance.GetClusterName should have comment or be unexported (golint)
    • Line 83: warning: exported method DefaultServiceInstance.GetGroupName should have comment or be unexported (golint)
    • yoyogo/abstractions/hostenvironment.go
    • Line 5: warning: exported type HostEnvironment should have comment or be unexported (golint)
    • Line 18: warning: exported method HostEnvironment.IsDevelopment should have comment or be unexported (golint)
    • Line 22: warning: exported method HostEnvironment.IsStaging should have comment or be unexported (golint)
    • Line 26: warning: exported method HostEnvironment.IsProduction should have comment or be unexported (golint)
    • yoyogo/utils/jwt/parser.go
    • Line 10: warning: exported type Parser should have comment or be unexported (golint)
    • Line 16: warning: comment on exported method Parser.Parse should be of the form "Parse ..." (golint)
    • Line 23: warning: exported method Parser.ParseWithClaims should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method Parser.ParseUnverified should be of the form "ParseUnverified ..." (golint)
    • yoyogo/dependencyinjection/servicecollection.go
    • Line 8: warning: exported type ServiceCollection should have comment or be unexported (golint)
    • Line 13: warning: exported function NewServiceCollection should have comment or be unexported (golint)
    • Line 17: warning: comment on exported method ServiceCollection.AddServiceDescriptor should be of the form "AddServiceDescriptor ..." (golint)
    • Line 37: warning: exported method ServiceCollection.AddSingleton should have comment or be unexported (golint)
    • Line 42: warning: exported method ServiceCollection.AddSingletonAndName should have comment or be unexported (golint)
    • Line 47: warning: exported method ServiceCollection.AddSingletonByName should have comment or be unexported (golint)
    • Line 52: warning: exported method ServiceCollection.AddSingletonByImplementsAndName should have comment or be unexported (golint)
    • Line 57: warning: exported method ServiceCollection.AddSingletonByImplements should have comment or be unexported (golint)
    • Line 62: warning: exported method ServiceCollection.AddSingletonByNameAndImplements should have comment or be unexported (golint)
    • Line 68: warning: exported method ServiceCollection.AddTransient should have comment or be unexported (golint)
    • Line 73: warning: exported method ServiceCollection.AddTransientByName should have comment or be unexported (golint)
    • Line 78: warning: exported method ServiceCollection.AddTransientByImplements should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/eureka/registrar.go
    • Line 15: warning: exported type Option should have comment or be unexported (golint)
    • Line 22: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 30: warning: exported function NewServerDiscoveryWithDI should have comment or be unexported (golint)
    • Line 44: warning: exported function NewServerDiscovery should have comment or be unexported (golint)
    • Line 66: warning: exported method Registrar.GetName should have comment or be unexported (golint)
    • Line 70: warning: exported method Registrar.Register should have comment or be unexported (golint)
    • Line 90: warning: exported method Registrar.Update should have comment or be unexported (golint)
    • Line 94: warning: exported method Registrar.Unregister should have comment or be unexported (golint)
    • Line 99: warning: exported method Registrar.GetHealthyInstances should have comment or be unexported (golint)
    • Line 103: warning: exported method Registrar.GetAllInstances should have comment or be unexported (golint)
    • Line 127: warning: exported method Registrar.Destroy should have comment or be unexported (golint)
    • Line 131: warning: exported method Registrar.Watch should have comment or be unexported (golint)
    • Line 135: warning: exported method Registrar.GetAllServices should have comment or be unexported (golint)
    • yoyogo/pkg/servicediscovery/eureka/watcher.go
    • Line 12: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 46: warning: exported method Watcher.Next should have comment or be unexported (golint)
    • Line 55: warning: exported method Watcher.Stop should have comment or be unexported (golint)
    • Line 59: warning: receiver name e should be consistent with previous receiver name w for Watcher (golint)
    • Line 88: warning: receiver name e should be consistent with previous receiver name w for Watcher (golint)
    • yoyogo/console/server.go
    • Line 8: warning: exported type Server should have comment or be unexported (golint)
    • Line 12: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 16: warning: exported method Server.GetAddr should have comment or be unexported (golint)
    • Line 20: warning: exported method Server.Run should have comment or be unexported (golint)
    • Line 27: warning: exported method Server.Shutdown should have comment or be unexported (golint)
    • yoyogo/web/context/httpcontext_input.go
    • Line 19: warning: exported type Input should have comment or be unexported (golint)
    • Line 51: warning: exported method Input.GetReader should have comment or be unexported (golint)
    • Line 92: warning: exported method Input.IsWebsocket should have comment or be unexported (golint)
    • Line 105: warning: comment on exported method Input.GetCookie should be of the form "GetCookie ..." (golint)
    • Line 114: warning: comment on exported method Input.Method should be of the form "Method ..." (golint)
    • Line 200: warning: exported method Input.GetBody should have comment or be unexported (golint)
    • Line 219: warning: exported method Input.QueryDefault should have comment or be unexported (golint)
    • Line 250: warning: exported method Input.GetAllParam should have comment or be unexported (golint)
    • Line 267: warning: comment on exported method Input.Param should be of the form "Param ..." (golint)
    • yoyogo/grpc/hostbuilderdecorator.go
    • Line 8: warning: exported type HostBuilderDecorator should have comment or be unexported (golint)
    • Line 11: warning: exported method HostBuilderDecorator.OverrideConfigure should have comment or be unexported (golint)
    • Line 16: warning: exported method HostBuilderDecorator.OverrideNewApplicationBuilder should have comment or be unexported (golint)
    • Line 22: warning: exported method HostBuilderDecorator.OverrideNewHost should have comment or be unexported (golint)
    • Line 31: warning: exported method HostBuilderDecorator.OverrideIOCInnerConfigures should have comment or be unexported (golint)
    • Line 35: warning: exported function NewHostBuilderDecorator should have comment or be unexported (golint)
    • yoyogo/grpc/server.go
    • Line 11: warning: exported type Server should have comment or be unexported (golint)
    • Line 19: warning: exported function NewGrpcServerConfig should have comment or be unexported (golint)
    • Line 28: warning: exported method Server.GetAddr should have comment or be unexported (golint)
    • Line 32: warning: exported method Server.Run should have comment or be unexported (golint)
    • Line 51: warning: exported method Server.Shutdown should have comment or be unexported (golint)
    • yoyogo/web/actionresult/extension/json_case_encoder.go
    • Line 11: warning: exported function CamelJson should have comment or be unexported (golint)
    • Line 15: warning: exported type CaseJsonEncoder should have comment or be unexported (golint)
    • Line 18: warning: exported method CaseJsonEncoder.Encode should have comment or be unexported (golint)
    • Line 23: warning: exported type JsonCamelCase should have comment or be unexported (golint)
    • Line 27: warning: comment on exported function LowerFirstCode should be of the form "LowerFirstCode ..." (golint)
    • Line 35: warning: exported method JsonCamelCase.MarshalJSON should have comment or be unexported (golint)
    • Line 50: warning: comment on exported function CaseToCamel should be of the form "CaseToCamel ..." (golint)
    • yoyogo/web/httphandleradpter.go
    • Line 8: warning: exported type HandlerFunc should have comment or be unexported (golint)
    • Line 10: warning: exported function WarpHandlerFunc should have comment or be unexported (golint)
    • Line 16: warning: exported function WarpHttpHandlerFunc should have comment or be unexported (golint)
    • yoyogo/pkg/datasources/mysql/mysql.go
    • Line 25: warning: exported type MySqlDataSource should have comment or be unexported (golint)
    • Line 59: warning: exported method MySqlDataSource.GetName should have comment or be unexported (golint)
    • Line 63: warning: exported method MySqlDataSource.Open should have comment or be unexported (golint)
    • Line 71: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 81: warning: exported method MySqlDataSource.Close should have comment or be unexported (golint)
    • Line 85: warning: exported method MySqlDataSource.Ping should have comment or be unexported (golint)
    • Line 95: warning: exported method MySqlDataSource.GetConnectionString should have comment or be unexported (golint)
    • yoyogo/abstractions/xlog/default_logger.go
    • Line 11: warning: exported type XDefaultLogger should have comment or be unexported (golint)
    • Line 18: warning: exported function NewXLogger should have comment or be unexported (golint)
    • Line 23: warning: exported function NewLoggerWith should have comment or be unexported (golint)
    • Line 29: warning: exported var LoggerDefaultDateFormat should have comment or be unexported (golint)
    • Line 31: warning: exported type LogLevel should have comment or be unexported (golint)
    • Line 42: warning: exported var LevelString should have comment or be unexported (golint)
    • Line 56: warning: exported method XDefaultLogger.SetClass should have comment or be unexported (golint)
    • Line 60: warning: exported method XDefaultLogger.SetCustomLogFormat should have comment or be unexported (golint)
    • Line 64: warning: exported method XDefaultLogger.SetDateFormat should have comment or be unexported (golint)
    • Line 85: warning: exported method XDefaultLogger.Debug should have comment or be unexported (golint)
    • Line 89: warning: exported method XDefaultLogger.Info should have comment or be unexported (golint)
    • Line 93: warning: exported method XDefaultLogger.Warning should have comment or be unexported (golint)
    • yoyogo/web/session/store/inmemory.go
    • Line 15: warning: exported function NewMemory should have comment or be unexported (golint)
    • Line 22: warning: exported method Memory.UpdateLastTimeAccessed should have comment or be unexported (golint)
    • Line 26: warning: exported method Memory.SetMaxLifeTime should have comment or be unexported (golint)
    • Line 50: warning: should omit 2nd value from range; this loop is equivalent to `for k := range ...` (golint)
    • yoyogo/abstractions/configurationbuilder.go
    • Line 8: warning: exported type ConfigurationContext should have comment or be unexported (golint)
    • Line 20: warning: exported type ConfigurationBuilder should have comment or be unexported (golint)
    • Line 24: warning: exported function NewConfigurationBuilder should have comment or be unexported (golint)
    • Line 28: warning: exported method ConfigurationBuilder.AddFlagArgs should have comment or be unexported (golint)
    • Line 33: warning: exported method ConfigurationBuilder.AddEnvironment should have comment or be unexported (golint)
    • Line 38: warning: exported method ConfigurationBuilder.AddYamlFile should have comment or be unexported (golint)
    • Line 46: warning: exported method ConfigurationBuilder.AddJsonFile should have comment or be unexported (golint)
    • Line 54: warning: exported method ConfigurationBuilder.AddRemoteWithNacos should have comment or be unexported (golint)
    • Line 63: warning: exported method ConfigurationBuilder.BuildEnv should have comment or be unexported (golint)
    • Line 68: warning: exported method ConfigurationBuilder.Build should have comment or be unexported (golint)
    • yoyogo/web/mvc/controller_builder.go
    • Line 11: warning: comment on exported type ControllerBuilder should be of the form "ControllerBuilder ..." (with optional leading article) (golint)
    • Line 49: warning: comment on exported method ControllerBuilder.AddFilter should be of the form "AddFilter ..." (golint)
    • yoyogo/web/mvc/options.go
    • Line 6: warning: exported const DefaultMvcTemplate should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type Options should have comment or be unexported (golint)
    • yoyogo/examples/console/startup.go
    • Line 9: warning: exported type AppStartup should have comment or be unexported (golint)
    • Line 12: warning: exported function Startup should have comment or be unexported (golint)
    • Line 16: warning: exported method AppStartup.ConfigureServices should have comment or be unexported (golint)
    • yoyogo/examples/simpleweb/main.go
    • Line 27: warning: exported function SimpleDemo should have comment or be unexported (golint)
    • Line 45: warning: comment on exported function CreateCustomBuilder should be of the form "CreateCustomBuilder ..." (golint)
    • Line 120: warning: exported function SetSession should have comment or be unexported (golint)
    • Line 125: warning: exported function TestSession should have comment or be unexported (golint)
    • Line 132: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 138: warning: comment on exported function GetInfo should be of the form "GetInfo ..." (golint)
    • Line 144: warning: exported function GetInfoByIOC should have comment or be unexported (golint)
    • Line 150: warning: comment on exported function PostInfo should be of the form "PostInfo ..." (golint)
    • Line 153: warning: don't use underscores in Go names; var qs_q1 should be qsQ1 (golint)
    • Line 154: warning: don't use underscores in Go names; var pd_name should be pdName (golint)
    • yoyogo/web/context/consts.go
    • Line 76: warning: exported const CONNECT should have comment (or a comment on this block) or be unexported (golint)
    • Line 87: warning: exported var Methods should have comment or be unexported (golint)
    • yoyogo/examples/simpleweb/contollers/userfilter.go
    • Line 8: warning: exported type TestActionFilter should have comment or be unexported (golint)
    • Line 11: warning: exported method TestActionFilter.OnActionExecuting should have comment or be unexported (golint)
    • Line 16: warning: exported method TestActionFilter.OnActionExecuted should have comment or be unexported (golint)
    • yoyogo/web/middlewares/recovery.go
    • Line 114: warning: exported method TextPanicFormatter.FormatPanicError should have comment or be unexported (golint)
    • Line 127: warning: exported method HTMLPanicFormatter.FormatPanicError should have comment or be unexported (golint)
    • Line 135: warning: exported type Recovery should have comment or be unexported (golint)
    • Line 159: warning: exported method Recovery.Inovke should have comment or be unexported (golint)
    • yoyogo/web/context/httpcontext_output.go
    • Line 5: warning: exported type Output should have comment or be unexported (golint)
    • Line 9: warning: comment on exported method Output.SetCookie should be of the form "SetCookie ..." (golint)
    • Line 21: warning: exported method Output.Status should have comment or be unexported (golint)
    • Line 25: warning: exported method Output.GetWriter should have comment or be unexported (golint)
    • Line 29: warning: exported method Output.SetStatus should have comment or be unexported (golint)
    • Line 33: warning: exported method Output.SetStatusCode should have comment or be unexported (golint)
    • Line 37: warning: exported method Output.SetStatusCodeNow should have comment or be unexported (golint)
    • Line 45: warning: exported method Output.Header should have comment or be unexported (golint)
    • yoyogo/abstractions/applicationeventpublisher.go
    • Line 5: warning: exported type ApplicationEvent should have comment or be unexported (golint)
    • Line 22: warning: exported function NewEventPublisher should have comment or be unexported (golint)
    • Line 29: warning: exported method ApplicationEventPublisher.NewEvent should have comment or be unexported (golint)
    • Line 33: warning: exported method ApplicationEventPublisher.Publish should have comment or be unexported (golint)
    • Line 48: warning: exported method ApplicationEventPublisher.Subscribe should have comment or be unexported (golint)
    • yoyogo/web/httpserver.go
    • Line 11: warning: exported type HttpServer should have comment or be unexported (golint)
    • Line 17: warning: exported function DefaultHttpServer should have comment or be unexported (golint)
    • Line 21: warning: exported function DefaultHttps should have comment or be unexported (golint)
    • Line 25: warning: exported function NewDefaultHttpByConfig should have comment or be unexported (golint)
    • Line 28: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 33: warning: exported method HttpServer.GetAddr should have comment or be unexported (golint)
    • Line 37: warning: exported method HttpServer.Run should have comment or be unexported (golint)
    • Line 66: warning: exported method HttpServer.Shutdown should have comment or be unexported (golint)
    • yoyogo/web/middlewares/cors/cors.go
    • Line 9: warning: exported type Cors should have comment or be unexported (golint)
    • Line 21: warning: exported var DefaultSchemas should have comment or be unexported (golint)
    • Line 40: warning: exported function NewCors should have comment or be unexported (golint)
    • Line 56: warning: exported method Cors.ApplyCors should have comment or be unexported (golint)
    • yoyogo/web/actionresult/xml.go
    • Line 8: warning: exported type XML should have comment or be unexported (golint)
    • Line 14: warning: exported method XML.WriteContentType should have comment or be unexported (golint)
    • Line 18: warning: exported method XML.Render should have comment or be unexported (golint)
    • yoyogo/examples/simpleweb/contollers/hubcontroller.go
    • Line 14: warning: comment on exported type HubController should be of the form "HubController ..." (with optional leading article) (golint)
    • Line 22: warning: exported function NewHubController should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method HubController.GetWs should be of the form "GetWs ..." (golint)
    • Line 37: warning: exported method HubController.GetTodoList should have comment or be unexported (golint)
    • Line 47: warning: exported method HubController.PostTodoSync should have comment or be unexported (golint)
    • yoyogo/abstractions/servicediscovery/watcher.go
    • Line 8: warning: exported type Watcher should have comment or be unexported (golint)
    • Line 14: warning: exported type WatchOption should have comment or be unexported (golint)
    • Line 16: warning: exported type Result should have comment or be unexported (golint)
    • Line 21: warning: exported type WatchOptions should have comment or be unexported (golint)
    • yoyogo/console/host.go
    • Line 8: warning: exported type Host should have comment or be unexported (golint)
    • Line 12: warning: exported function NewHost should have comment or be unexported (golint)
    • Line 18: warning: exported method Host.Run should have comment or be unexported (golint)
    • yoyogo/dependencyinjection/servicedescriptor.go
    • Line 3: warning: exported type ServiceDescriptor should have comment or be unexported (golint)
    • Line 10: warning: exported function NewServiceDescriptor should have comment or be unexported (golint)
    • Line 14: warning: exported function NewServiceDescriptorByProvider should have comment or be unexported (golint)
    • Line 18: warning: exported function NewServiceDescriptorByName should have comment or be unexported (golint)
    • Line 22: warning: exported function NewServiceDescriptorByImplements should have comment or be unexported (golint)
    • yoyogo/utils/files.go
    • Line 13: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 85: 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 112: 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 117: warning: exported function WriteFile should have comment or be unexported (golint)
    • Line 127: warning: exported function RemoveFile should have comment or be unexported (golint)
    • Line 131: warning: exported function DirDot should have comment or be unexported (golint)
    • Line 134: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 139: warning: exported function GetCurrentDirectory should have comment or be unexported (golint)
    • Line 147: warning: exported function PathExists should have comment or be unexported (golint)
    • Line 159: warning: exported function CreateDir should have comment or be unexported (golint)
    • yoyogo/grpc/interceptors/logger.go
    • Line 15: warning: exported var LoggerDefaultDateFormat should have comment or be unexported (golint)
    • Line 17: warning: exported type Logger should have comment or be unexported (golint)
    • Line 22: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 34: warning: exported method Logger.UnaryServerInterceptor should have comment or be unexported (golint)
    • Line 70: warning: exported method Logger.StreamServerInterceptor should have comment or be unexported (golint)
    • yoyogo/examples/simpleweb/contollers/usercontroller.go
    • Line 15: warning: exported type UserController should have comment or be unexported (golint)
    • Line 21: warning: exported function NewUserController should have comment or be unexported (golint)
    • Line 25: warning: exported type RegisterRequest should have comment or be unexported (golint)
    • Line 31: warning: exported method UserController.Register should have comment or be unexported (golint)
    • Line 35: warning: exported method UserController.GetUserName should have comment or be unexported (golint)
    • Line 41: warning: exported method UserController.PostUserInfo should have comment or be unexported (golint)
    • Line 48: warning: exported method UserController.GetHtmlHello should have comment or be unexported (golint)
    • Line 54: warning: exported method UserController.GetHtmlBody should have comment or be unexported (golint)
    • Line 60: warning: exported method UserController.GetInfo should have comment or be unexported (golint)
    • Line 65: warning: exported method UserController.GetSD should have comment or be unexported (golint)
    • Line 70: warning: exported method UserController.GetCaptcha should have comment or be unexported (golint)
    • Line 76: warning: exported method UserController.GetValidation should have comment or be unexported (golint)
    • Line 83: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method UserController.DefaultBinding should be of the form "DefaultBinding ..." (golint)
    • Line 100: warning: comment on exported method UserController.JsonBinding should be of the form "JsonBinding ..." (golint)
    • Line 110: warning: comment on exported method UserController.QueryBinding should be of the form "QueryBinding ..." (golint)
    • yoyogo/web/session/options.go
    • Line 9: warning: exported type Options should have comment or be unexported (golint)
    • Line 16: warning: exported function UseSession should have comment or be unexported (golint)
    • Line 21: warning: exported method Options.AddSessionStoreFactory should have comment or be unexported (golint)
    • Line 25: warning: exported method Options.AddSessionIdentityFactory should have comment or be unexported (golint)
    • Line 30: warning: exported method Options.AddSessionMemoryStore should have comment or be unexported (golint)
    • Line 35: warning: exported method Options.AddSessionIdentity should have comment or be unexported (golint)
    • yoyogo/utils/strings.go
    • Line 12: warning: exported function PadLeft should have comment or be unexported (golint)
    • Line 19: warning: exported function UppercaseFirst should have comment or be unexported (golint)
    • Line 26: warning: exported function LowercaseFirst should have comment or be unexported (golint)
    • Line 33: warning: exported function Contains should have comment or be unexported (golint)
    • Line 50: warning: comment on exported function Substr should be of the form "Substr ..." (golint)
    • Line 93: warning: exported function GetRandStr should have comment or be unexported (golint)
    • Line 109: warning: exported function NewLine should have comment or be unexported (golint)
    • yoyogo/web/context/responsewriter.go
    • Line 43: warning: exported type CResponseWriter should have comment or be unexported (golint)
    • Line 50: warning: exported method CResponseWriter.SetStatus should have comment or be unexported (golint)
    • Line 54: warning: exported method CResponseWriter.WriteHeader should have comment or be unexported (golint)
    • Line 60: warning: exported method CResponseWriter.WriteHeaderNow should have comment or be unexported (golint)
    • Line 60: warning: receiver name w should be consistent with previous receiver name rw for CResponseWriter (golint)
    • Line 77: warning: exported method CResponseWriter.Status should have comment or be unexported (golint)
    • Line 81: warning: exported method CResponseWriter.Size should have comment or be unexported (golint)
    • Line 85: warning: exported method CResponseWriter.Written should have comment or be unexported (golint)
    • Line 89: warning: exported method CResponseWriter.Before should have comment or be unexported (golint)
    • Line 93: warning: exported method CResponseWriter.Hijack should have comment or be unexported (golint)
    • Line 107: warning: exported method CResponseWriter.Flush should have comment or be unexported (golint)
    • yoyogo/web/middlewares/requesttracker.go
    • Line 15: warning: exported type RequestTrackerMiddleware should have comment or be unexported (golint)
    • Line 23: warning: exported function NewRequestTracker should have comment or be unexported (golint)
    • Line 27: warning: exported method RequestTrackerMiddleware.SetConfiguration should have comment or be unexported (golint)
    • Line 47: warning: exported method RequestTrackerMiddleware.Inovke should have comment or be unexported (golint)
    • yoyogo/web/middlewares/cors.go
    • Line 9: warning: exported type CORSMiddleware should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCORS should have comment or be unexported (golint)
    • Line 21: warning: exported method CORSMiddleware.SetConfiguration should have comment or be unexported (golint)
    • Line 51: warning: exported method CORSMiddleware.Inovke should have comment or be unexported (golint)
    • yoyogo/web/middlewares/middleware.go
    • Line 8: warning: exported type MiddlewareHandler should have comment or be unexported (golint)
    • Line 12: warning: exported type NextFunc should have comment or be unexported (golint)
    • Line 14: warning: exported type MiddlewareHandlerFunc should have comment or be unexported (golint)
    • Line 16: warning: exported method MiddlewareHandlerFunc.Inovke should have comment or be unexported (golint)
    • Line 20: warning: exported type Middleware should have comment or be unexported (golint)
    • Line 34: warning: exported method Middleware.Invoke should have comment or be unexported (golint)
    • Line 38: warning: exported function Wrap should have comment or be unexported (golint)
    • Line 45: warning: exported function WrapFunc should have comment or be unexported (golint)
    • Line 63: warning: exported function Build should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/client.go
    • Line 10: warning: exported type Client should have comment or be unexported (golint)
    • Line 44: warning: comment on exported function GetBucketId should be of the form "GetBucketId ..." (golint)
    • Line 117: warning: comment on exported method Client.GetExpire should be of the form "GetExpire ..." (golint)
    • Line 139: warning: comment on exported method Client.Close should be of the form "Close ..." (golint)
    • yoyogo/pkg/servicediscovery/strategy/weightedresponsetime.go
    • Line 20: warning: exported type WeightedResponseTime should have comment or be unexported (golint)
    • Line 23: warning: exported function NewWeightedResponseTime should have comment or be unexported (golint)
    • Line 69: warning: exported method WeightedResponseTime.Next should have comment or be unexported (golint)
    • Line 91: warning: comment on exported type ICMP should be of the form "ICMP ..." (with optional leading article) (golint)
    • yoyogo/examples/grpc-demo/client/api.go
    • Line 12: warning: exported type Api should have comment or be unexported (golint)
    • Line 16: warning: exported function NewHelloworldApi should have comment or be unexported (golint)
    • Line 22: warning: exported method Api.SayHello should have comment or be unexported (golint)
    • Line 28: warning: exported method Api.SayList should have comment or be unexported (golint)
    • Line 45: warning: exported method Api.SayRecord should have comment or be unexported (golint)
    • Line 57: warning: exported method Api.SayRoute should have comment or be unexported (golint)
    • yoyogo/examples/simpleweb/models/UserAction.go
    • Line 9: warning: exported type IUserAction should have comment or be unexported (golint)
    • Line 13: warning: exported type UserAction should have comment or be unexported (golint)
    • Line 17: warning: exported function NewUserAction should have comment or be unexported (golint)
    • Line 23: warning: exported method UserAction.Login should have comment or be unexported (golint)
    • yoyogo/web/middlewares/router.go
    • Line 11: warning: exported type RouterMiddleware should have comment or be unexported (golint)
    • Line 15: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 19: warning: exported method RouterMiddleware.Inovke should have comment or be unexported (golint)
    • yoyogo/pkg/datasources/redis/health.go
    • Line 8: warning: exported type RedisHealthIndicator should have comment or be unexported (golint)
    • Line 12: warning: exported function NewRedisHealthIndicator should have comment or be unexported (golint)
    • Line 16: warning: exported method RedisHealthIndicator.Health should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/set.go
    • Line 3: warning: exported type Set should have comment or be unexported (golint)
    • Line 7: warning: exported method Set.Add should have comment or be unexported (golint)
    • Line 10: warning: exported method Set.Difference should have comment or be unexported (golint)
    • Line 13: warning: exported method Set.Size should have comment or be unexported (golint)
    • Line 16: warning: exported method Set.Intersect should have comment or be unexported (golint)
    • Line 19: warning: exported method Set.IntersectAndStore should have comment or be unexported (golint)
    • Line 23: warning: exported method Set.IsMember should have comment or be unexported (golint)
    • Line 27: warning: exported method Set.Members should have comment or be unexported (golint)
    • Line 31: warning: exported method Set.Move should have comment or be unexported (golint)
    • Line 35: warning: exported method Set.Pop should have comment or be unexported (golint)
    • Line 39: warning: exported method Set.RandMembers should have comment or be unexported (golint)
    • Line 43: warning: exported method Set.Remove should have comment or be unexported (golint)
    • Line 47: warning: exported method Set.Union should have comment or be unexported (golint)
    • Line 51: warning: exported method Set.UnionAndStore should have comment or be unexported (golint)
    • yoyogo/pkg/httpclient/client.go
    • Line 17: warning: exported type Client should have comment or be unexported (golint)
    • Line 24: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 48: warning: exported function WithRequest should have comment or be unexported (golint)
    • Line 52: warning: comment on exported function WithJsonRequest should be of the form "WithJsonRequest ..." (golint)
    • Line 60: warning: comment on exported method Client.Get should be of the form "Get ..." (golint)
    • Line 121: warning: comment on exported method Client.Post should be of the form "Post ..." (golint)
    • Line 185: warning: exported method Client.Do should have comment or be unexported (golint)
    • Line 221: warning: exported method Client.SplicingUrl should have comment or be unexported (golint)
    • yoyogo/web/fasthttpserver.go
    • Line 11: warning: exported type FastHttpServer should have comment or be unexported (golint)
    • Line 17: warning: exported function NewFastHttp should have comment or be unexported (golint)
    • Line 21: warning: exported function NewFastHttps should have comment or be unexported (golint)
    • Line 25: warning: exported function NewFastHttpByConfig should have comment or be unexported (golint)
    • Line 28: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 33: warning: exported method FastHttpServer.GetAddr should have comment or be unexported (golint)
    • Line 37: warning: exported method FastHttpServer.Run should have comment or be unexported (golint)
    • Line 67: warning: exported method FastHttpServer.Shutdown should have comment or be unexported (golint)
    • yoyogo/pkg/httpclient/client_factory.go
    • Line 12: warning: exported type IFactory should have comment or be unexported (golint)
    • Line 16: warning: exported type IDiscoveryClientFactory should have comment or be unexported (golint)
    • Line 20: warning: exported type Factory should have comment or be unexported (golint)
    • Line 25: warning: exported function NewDiscoveryClientFactory should have comment or be unexported (golint)
    • Line 29: warning: exported function NewFactory should have comment or be unexported (golint)
    • Line 33: warning: exported method Factory.Create should have comment or be unexported (golint)
    • yoyogo/utils/jwt/errors.go
    • Line 30: warning: comment on exported function NewValidationError should be of the form "NewValidationError ..." (golint)
    • Line 38: warning: comment on exported type ValidationError should be of the form "ValidationError ..." (with optional leading article) (golint)
    • yoyogo/pkg/cache/redis/lock.go
    • Line 5: warning: exported type Lock should have comment or be unexported (golint)
    • Line 9: warning: exported const LockPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: comment on exported method Lock.GetDLock should be of the form "GetDLock ..." (golint)
    • Line 17: warning: error should be the last type when returning multiple items (golint)
    • Line 42: warning: comment on exported method Lock.DisposeLock should be of the form "DisposeLock ..." (golint)
    • Line 45: warning: error should be the last type when returning multiple items (golint)
    • yoyogo/pkg/datasources/redis/redis.go
    • Line 31: warning: exported type RedisDataSource should have comment or be unexported (golint)
    • Line 41: warning: exported function NewRedisClient should have comment or be unexported (golint)
    • Line 47: warning: comment on exported function NewRedis should be of the form "NewRedis ..." (golint)
    • Line 71: warning: exported method RedisDataSource.GetName should have comment or be unexported (golint)
    • Line 75: warning: exported method RedisDataSource.Open should have comment or be unexported (golint)
    • Line 83: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 93: warning: exported method RedisDataSource.Close should have comment or be unexported (golint)
    • Line 97: warning: exported method RedisDataSource.Ping should have comment or be unexported (golint)
    • Line 107: warning: exported method RedisDataSource.GetConnectionString should have comment or be unexported (golint)
    • yoyogo/utils/jwt/rsa.go
    • Line 9: warning: comment on exported type SigningMethodRSA should be of the form "SigningMethodRSA ..." (with optional leading article) (golint)
    • Line 43: warning: exported method SigningMethodRSA.Alg should have comment or be unexported (golint)
    • Line 47: warning: comment on exported method SigningMethodRSA.Verify should be of the form "Verify ..." (golint)
    • Line 76: warning: comment on exported method SigningMethodRSA.Sign should be of the form "Sign ..." (golint)
    • Line 98: 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)
    • yoyogo/web/mvc/action_method_executor.go
    • Line 10: warning: exported type ActionMethodExecutor should have comment or be unexported (golint)
    • Line 13: warning: exported function NewActionMethodExecutor should have comment or be unexported (golint)
    • Line 17: warning: exported method ActionMethodExecutor.Execute should have comment or be unexported (golint)
    • yoyogo/dependencyinjection/default_serviceprovider.go
    • Line 8: warning: exported type DefaultServiceProvider should have comment or be unexported (golint)
    • Line 12: warning: exported method DefaultServiceProvider.GetService should have comment or be unexported (golint)
    • Line 17: warning: exported method DefaultServiceProvider.GetServiceByName should have comment or be unexported (golint)
    • Line 23: warning: exported method DefaultServiceProvider.GetGraph should have comment or be unexported (golint)
    • Line 32: warning: exported method DefaultServiceProvider.InvokeService should have comment or be unexported (golint)
    • yoyogo/abstractions/hostbuilder.go
    • Line 13: warning: comment on exported type HostBuilder should be of the form "HostBuilder ..." (with optional leading article) (golint)
    • Line 29: warning: exported method HostBuilder.UseStartup should have comment or be unexported (golint)
    • Line 45: warning: exported method HostBuilder.UseConfiguration should have comment or be unexported (golint)
    • Line 117: warning: don't use underscores in Go names; var mvc_template should be mvcTemplate (golint)
    • yoyogo/console/hostbuilderdecorator.go
    • Line 8: warning: exported type HostBuilderDecorator should have comment or be unexported (golint)
    • Line 11: warning: exported method HostBuilderDecorator.OverrideConfigure should have comment or be unexported (golint)
    • Line 16: warning: exported method HostBuilderDecorator.OverrideNewApplicationBuilder should have comment or be unexported (golint)
    • Line 22: warning: exported method HostBuilderDecorator.OverrideNewHost should have comment or be unexported (golint)
    • Line 26: warning: exported method HostBuilderDecorator.OverrideIOCInnerConfigures should have comment or be unexported (golint)
    • Line 30: warning: exported function NewHostBuilderDecorator should have comment or be unexported (golint)
    • yoyogo/pkg/scheduler/xxljob_context.go
    • Line 9: warning: exported type JobContext should have comment or be unexported (golint)
    • Line 19: warning: exported function GetContext should have comment or be unexported (golint)
    • Line 47: warning: exported function IsDone should have comment or be unexported (golint)
    • yoyogo/web/view/template.go
    • Line 15: warning: exported function SetTemplatePath should have comment or be unexported (golint)
    • Line 19: warning: exported type Template should have comment or be unexported (golint)
    • Line 27: warning: exported function New should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method Template.ViewData should be of the form "ViewData ..." (golint)
    • Line 80: warning: comment on exported method Template.ViewDataKV should be of the form "ViewDataKV ..." (golint)
    • Line 89: warning: exported method Template.Render should have comment or be unexported (golint)
    • Line 100: warning: exported method Template.RenderText should have comment or be unexported (golint)
    • Line 111: warning: exported function ParseViewName should have comment or be unexported (golint)
    • yoyogo/web/mvc/route_template.go
    • Line 5: warning: exported type RouteTemplate should have comment or be unexported (golint)
    • Line 15: warning: exported function NewRouteTemplate should have comment or be unexported (golint)
    • Line 27: warning: exported method RouteTemplate.Match should have comment or be unexported (golint)
    • Line 50: warning: exported method RouteTemplate.GetControllerIndex should have comment or be unexported (golint)
    • Line 54: warning: exported method RouteTemplate.GetActionIndex should have comment or be unexported (golint)
    • yoyogo/web/actionresult/messagepack.go
    • Line 8: warning: exported type MsgPack should have comment or be unexported (golint)
    • Line 14: warning: exported method MsgPack.WriteContentType should have comment or be unexported (golint)
    • Line 18: warning: exported function WriteMsgPack should have comment or be unexported (golint)
    • Line 24: warning: exported method MsgPack.Render should have comment or be unexported (golint)
    • yoyogo/examples/grpc-demo/services/demo.go
    • Line 3: warning: exported type IOCDemo should have comment or be unexported (golint)
    • Line 6: warning: exported function NewIOCDemo should have comment or be unexported (golint)
    • Line 10: warning: exported method IOCDemo.Print should have comment or be unexported (golint)
    • yoyogo/examples/simpleweb/contollers/sdcontroller.go
    • Line 10: warning: exported type SDController should have comment or be unexported (golint)
    • Line 18: warning: exported function NewSDController should have comment or be unexported (golint)
    • Line 22: warning: exported method SDController.GetSD should have comment or be unexported (golint)
    • Line 27: warning: exported method SDController.GetServices should have comment or be unexported (golint)
    • Line 32: warning: exported method SDController.GetCacheServices should have comment or be unexported (golint)
    • Line 37: warning: exported method SDController.GetOne should have comment or be unexported (golint)
    • Line 42: warning: exported method SDController.HttpTest 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 (golint)
    • yoyogo/utils/jwt/claims.go
    • Line 9: warning: comment on exported type Claims should be of the form "Claims ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported type StandardClaims should be of the form "StandardClaims ..." (with optional leading article) (golint)
    • Line 28: warning: comment on exported method StandardClaims.Valid should be of the form "Valid ..." (golint)
    • Line 61: warning: comment on exported method StandardClaims.VerifyAudience should be of the form "VerifyAudience ..." (golint)
    • Line 67: warning: comment on exported method StandardClaims.VerifyExpiresAt should be of the form "VerifyExpiresAt ..." (golint)
    • Line 73: warning: comment on exported method StandardClaims.VerifyIssuedAt should be of the form "VerifyIssuedAt ..." (golint)
    • Line 79: warning: comment on exported method StandardClaims.VerifyIssuer should be of the form "VerifyIssuer ..." (golint)
    • Line 85: warning: comment on exported method StandardClaims.VerifyNotBefore should be of the form "VerifyNotBefore ..." (golint)
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • yoyogo/utils/jwt/jwt.go
    • Line 11: warning: comment on exported function CreateToken should be of the form "CreateToken ..." (golint)
    • Line 30: warning: comment on exported function CreateCustomToken should be of the form "CreateCustomToken ..." (golint)
    • Line 41: warning: exported function ParseToken should have comment or be unexported (golint)
    • yoyogo/utils/jwt/token.go
    • Line 15: warning: comment on exported type Keyfunc should be of the form "Keyfunc ..." (with optional leading article) (golint)
    • Line 21: warning: comment on exported type Token should be of the form "Token ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 37: warning: exported function NewWithClaims should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method Token.SignedString should be of the form "SignedString ..." (golint)
    • Line 61: warning: comment on exported method Token.SigningString should be of the form "SigningString ..." (golint)
    • Line 68: warning: should omit 2nd value from range; this loop is equivalent to `for i := range ...` (golint)
    • Line 85: warning: comment on exported function Parse should be of the form "Parse ..." (golint)
    • Line 92: warning: exported function ParseWithClaims should have comment or be unexported (golint)
    • Line 96: warning: comment on exported function EncodeSegment should be of the form "EncodeSegment ..." (golint)
    • Line 101: warning: comment on exported function DecodeSegment should be of the form "DecodeSegment ..." (golint)
    • yoyogo/web/context/session.go
    • Line 9: warning: exported function NewSession should have comment or be unexported (golint)
    • Line 16: warning: exported method Session.SetValue should have comment or be unexported (golint)
    • Line 20: warning: exported method Session.GetValue should have comment or be unexported (golint)
    • Line 24: warning: exported method Session.GetString should have comment or be unexported (golint)
    • Line 28: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 33: warning: exported method Session.GetInt should have comment or be unexported (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 42: warning: exported method Session.GetInt64 should have comment or be unexported (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 51: warning: exported method Session.GetFloat should have comment or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 60: warning: exported method Session.GetFloat64 should have comment or be unexported (golint)
    • Line 64: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • yoyogo/version.go
    • Line 4: warning: comment on exported const Version should be of the form "Version ..." (golint)
    • Line 6: warning: comment on exported const Logo should be of the form "Logo ..." (golint)
    • yoyogo/pkg/servicediscovery/consul/registrar.go
    • Line 13: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 20: warning: exported function NewServerDiscoveryWithDI should have comment or be unexported (golint)
    • Line 35: warning: exported function NewServerDiscovery should have comment or be unexported (golint)
    • Line 49: warning: exported method Registrar.Register should have comment or be unexported (golint)
    • Line 73: warning: exported method Registrar.Update should have comment or be unexported (golint)
    • Line 77: warning: exported method Registrar.Unregister should have comment or be unexported (golint)
    • Line 87: warning: exported method Registrar.GetHealthyInstances should have comment or be unexported (golint)
    • Line 91: warning: exported method Registrar.GetAllInstances should have comment or be unexported (golint)
    • Line 119: warning: exported method Registrar.Destroy should have comment or be unexported (golint)
    • Line 123: warning: exported method Registrar.GetName should have comment or be unexported (golint)
    • Line 127: warning: exported method Registrar.Watch should have comment or be unexported (golint)
    • Line 131: warning: exported method Registrar.GetAllServices should have comment or be unexported (golint)
    • yoyogo/web/mvc/api_controller.go
    • Line 8: warning: exported type ApiController should have comment or be unexported (golint)
    • Line 12: warning: exported method ApiController.GetName should have comment or be unexported (golint)
    • Line 16: warning: exported method ApiController.OK should have comment or be unexported (golint)
    • Line 20: warning: exported method ApiController.Fail should have comment or be unexported (golint)
    • Line 24: warning: exported method ApiController.SetViewEngine should have comment or be unexported (golint)
    • Line 28: warning: exported method ApiController.View should have comment or be unexported (golint)
    • Line 33: warning: exported type IController should have comment or be unexported (golint)
    • yoyogo/examples/grpc-demo/client/clientservice.go
    • Line 8: warning: exported type ClientService should have comment or be unexported (golint)
    • Line 12: warning: exported function NewClientService should have comment or be unexported (golint)
    • Line 16: warning: exported method ClientService.Run should have comment or be unexported (golint)
    • Line 26: warning: exported method ClientService.Stop should have comment or be unexported (golint)
    • yoyogo/pkg/httpclient/request.go
    • Line 17: warning: exported type Request should have comment or be unexported (golint)
    • Line 46: warning: exported method Request.GetUrl should have comment or be unexported (golint)
    • Line 50: warning: exported method Request.POST should have comment or be unexported (golint)
    • Line 58: warning: exported method Request.GET should have comment or be unexported (golint)
    • Line 66: warning: exported method Request.ContentType should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method Request.AddFile should be of the form "AddFile ..." (golint)
    • Line 105: warning: exported method Request.SetTimeout should have comment or be unexported (golint)
    • Line 110: warning: comment on exported method Request.WithCookie should be of the form "WithCookie ..." (golint)
    • Line 134: warning: comment on exported method Request.WithBody should be of the form "WithBody ..." (golint)
    • Line 140: warning: comment on exported method Request.FormParams should be of the form "FormParams ..." (golint)
    • yoyogo/web/fasthttphandleradpter.go
    • Line 10: warning: exported function NewFastHTTPHandler should have comment or be unexported (golint)
    • Line 93: warning: exported type NetHTTPResponseWriter should have comment or be unexported (golint)
    • Line 101: warning: exported method NetHTTPResponseWriter.StatusCode should have comment or be unexported (golint)
    • Line 108: warning: exported method NetHTTPResponseWriter.Header should have comment or be unexported (golint)
    • Line 115: warning: exported method NetHTTPResponseWriter.WriteHeader should have comment or be unexported (golint)
    • yoyogo/web/webhost.go
    • Line 9: warning: exported type WebHost should have comment or be unexported (golint)
    • Line 14: warning: exported function NewWebHost should have comment or be unexported (golint)
    • Line 18: warning: exported method WebHost.Run should have comment or be unexported (golint)
    • Line 35: warning: exported method WebHost.StopApplicationNotify should have comment or be unexported (golint)
    • Line 46: warning: exported method WebHost.SetAppMode should have comment or be unexported (golint)
    • yoyogo/pkg/datasources/mysql/health.go
    • Line 8: warning: exported type MySQLHealthIndicator should have comment or be unexported (golint)
    • Line 12: warning: exported function NewMysqlHealthIndicator should have comment or be unexported (golint)
    • Line 16: warning: exported method MySQLHealthIndicator.Health should have comment or be unexported (golint)
    • yoyogo/pkg/scheduler/xxljob_logger.go
    • Line 12: warning: exported type Logger should have comment or be unexported (golint)
    • Line 18: warning: exported type XxlJobLogger should have comment or be unexported (golint)
    • Line 23: warning: exported function NewXxlJobLogger should have comment or be unexported (golint)
    • Line 31: warning: exported method XxlJobLogger.Info should have comment or be unexported (golint)
    • Line 40: warning: exported method XxlJobLogger.Done should have comment or be unexported (golint)
    • Line 46: warning: exported function GetLogger should have comment or be unexported (golint)
    • yoyogo/web/middlewares/logger.go
    • Line 71: warning: exported type LoggerInfo should have comment or be unexported (golint)
    • Line 82: warning: exported var LoggerDefaultFormat should have comment or be unexported (golint)
    • Line 84: warning: exported var LoggerDefaultDateFormat should have comment or be unexported (golint)
    • Line 86: warning: exported type Logger should have comment or be unexported (golint)
    • Line 92: warning: exported method Logger.SetFormat should have comment or be unexported (golint)
    • Line 96: warning: exported method Logger.SetDateFormat should have comment or be unexported (golint)
    • Line 100: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 108: warning: exported method Logger.Inovke should have comment or be unexported (golint)
    • yoyogo/utils/jwt/map_claims.go
    • Line 9: warning: comment on exported type MapClaims should be of the form "MapClaims ..." (with optional leading article) (golint)
    • Line 13: warning: comment on exported method MapClaims.VerifyAudience should be of the form "VerifyAudience ..." (golint)
    • Line 20: warning: comment on exported method MapClaims.VerifyExpiresAt should be of the form "VerifyExpiresAt ..." (golint)
    • Line 33: warning: comment on exported method MapClaims.VerifyIssuedAt should be of the form "VerifyIssuedAt ..." (golint)
    • Line 46: warning: comment on exported method MapClaims.VerifyIssuer should be of the form "VerifyIssuer ..." (golint)
    • Line 53: warning: comment on exported method MapClaims.VerifyNotBefore should be of the form "VerifyNotBefore ..." (golint)
    • Line 66: warning: comment on exported method MapClaims.Valid should be of the form "Valid ..." (golint)
    • yoyogo/pkg/scheduler/job_hostservice.go
    • Line 16: warning: exported function UseXxlJob should have comment or be unexported (golint)
    • Line 20: warning: exported function AddJob should have comment or be unexported (golint)
    • Line 24: warning: exported function AddJobs should have comment or be unexported (golint)
    • Line 36: warning: exported function NewXxlJobService should have comment or be unexported (golint)
    • Line 49: warning: exported method XxlJobService.Run should have comment or be unexported (golint)
    • Line 58: warning: exported method XxlJobService.Stop should have comment or be unexported (golint)
    • yoyogo/abstractions/servicehost.go
    • Line 13: warning: exported type IServiceHost should have comment or be unexported (golint)
    • Line 22: warning: comment on exported type ServiceHost should be of the form "ServiceHost ..." (with optional leading article) (golint)
    • Line 29: warning: exported function NewServiceHost should have comment or be unexported (golint)
    • Line 39: warning: exported method ServiceHost.Run should have comment or be unexported (golint)
    • Line 52: warning: exported method ServiceHost.Shutdown should have comment or be unexported (golint)
    • Line 56: warning: exported method ServiceHost.StopApplicationNotify should have comment or be unexported (golint)
    • Line 61: warning: exported method ServiceHost.SetAppMode should have comment or be unexported (golint)
    • Line 65: warning: exported function HostRunning should have comment or be unexported (golint)
    • Line 69: warning: exported function HostEnding should have comment or be unexported (golint)
    • Line 116: warning: exported function PrintLogo should have comment or be unexported (golint)
    • yoyogo/grpc/conn/clientconnfactory.go
    • Line 12: warning: exported type Factory should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFactory should have comment or be unexported (golint)
    • Line 20: warning: exported type LoadBalanceResolver should have comment or be unexported (golint)
    • Line 25: warning: exported method Factory.CreateClientConn should have comment or be unexported (golint)
    • Line 38: warning: exported method Factory.NewLoadBalanceResolver should have comment or be unexported (golint)
    • Line 51: warning: exported method LoadBalanceResolver.Build should have comment or be unexported (golint)
    • yoyogo/web/middlewares/base.go
    • Line 5: warning: exported type IConfigurationMiddleware should have comment or be unexported (golint)
    • Line 9: warning: exported type BaseMiddleware should have comment or be unexported (golint)
    • Line 14: warning: exported method BaseMiddleware.SetConfiguration should have comment or be unexported (golint)
    • yoyogo/abstractions/servicediscovery/selector.go
    • Line 5: warning: exported type ISelector should have comment or be unexported (golint)
    • Line 9: warning: exported type Selector should have comment or be unexported (golint)
    • Line 14: warning: exported function NewSelector should have comment or be unexported (golint)
    • Line 18: warning: comment on exported method Selector.Select should be of the form "Select ..." (golint)
    • yoyogo/web/context/httpcontext.go
    • Line 21: warning: exported type H should have comment or be unexported (golint)
    • Line 23: warning: exported type HttpContext should have comment or be unexported (golint)
    • Line 32: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 70: warning: comment on exported method HttpContext.GetUser should be of the form "GetUser ..." (golint)
    • Line 141: warning: exported method HttpContext.GetSession should have comment or be unexported (golint)
    • yoyogo/web/websocketupgrader.go
    • Line 27: warning: exported function UpgradeHandler should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function Upgrade should be of the form "Upgrade ..." (golint)
    • yoyogo/pkg/servicediscovery/nacos/registrar.go
    • Line 17: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 24: warning: exported function NewServerDiscoveryWithDI should have comment or be unexported (golint)
    • Line 46: warning: exported function NewServerDiscovery should have comment or be unexported (golint)
    • Line 88: warning: exported method Registrar.GetName should have comment or be unexported (golint)
    • Line 92: warning: exported method Registrar.Register should have comment or be unexported (golint)
    • Line 115: warning: exported method Registrar.Update should have comment or be unexported (golint)
    • Line 120: warning: exported method Registrar.Unregister should have comment or be unexported (golint)
    • Line 138: warning: exported method Registrar.GetHealthyInstances should have comment or be unexported (golint)
    • Line 152: warning: exported method Registrar.GetAllInstances should have comment or be unexported (golint)
    • Line 185: warning: exported method Registrar.Destroy should have comment or be unexported (golint)
    • Line 191: warning: exported method Registrar.Watch should have comment or be unexported (golint)
    • Line 195: warning: exported method Registrar.GetAllServices should have comment or be unexported (golint)
    • yoyogo/web/view/defaultengine.go
    • Line 7: warning: exported type DefaultEngine should have comment or be unexported (golint)
    • Line 14: warning: exported function NewDefaultViewEngine should have comment or be unexported (golint)
    • Line 18: warning: exported method DefaultEngine.SetTemplatePath should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method DefaultEngine.ShareViewData should be of the form "ShareViewData ..." (golint)
    • Line 31: warning: comment on exported method DefaultEngine.AddIncludeTmpl should be of the form "AddIncludeTmpl ..." (golint)
    • yoyogo/console/hostbuilder.go
    • Line 5: warning: exported type HostBuilder should have comment or be unexported (golint)
    • Line 9: warning: exported function NewHostBuilder should have comment or be unexported (golint)
    • yoyogo/abstractions/applicationlife.go
    • Line 4: warning: exported const APPLICATION_LIFE_START should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: exported type ApplicationLife should have comment or be unexported (golint)
    • Line 16: warning: exported function NewApplicationLife should have comment or be unexported (golint)
    • Line 27: warning: exported method ApplicationLife.StartApplication should have comment or be unexported (golint)
    • Line 31: warning: exported method ApplicationLife.StopApplication should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/JsonSerializer.go
    • Line 11: warning: exported var DefaultSerializer should have comment or be unexported (golint)
    • Line 14: warning: exported type JsonSerializer should have comment or be unexported (golint)
    • Line 17: warning: exported method JsonSerializer.Serialization should have comment or be unexported (golint)
    • Line 35: warning: exported method JsonSerializer.Deserialization should have comment or be unexported (golint)
    • yoyogo/grpc/applicationbuilder.go
    • Line 10: warning: exported type ApplicationBuilder should have comment or be unexported (golint)
    • Line 16: warning: exported function NewApplicationBuilder should have comment or be unexported (golint)
    • Line 20: warning: exported method ApplicationBuilder.AddServerOption should have comment or be unexported (golint)
    • Line 25: warning: exported method ApplicationBuilder.AddUnaryServerInterceptor should have comment or be unexported (golint)
    • Line 30: warning: exported method ApplicationBuilder.AddStreamServerInterceptor should have comment or be unexported (golint)
    • Line 35: warning: exported method ApplicationBuilder.AddGrpcService should have comment or be unexported (golint)
    • Line 40: warning: exported method ApplicationBuilder.Build should have comment or be unexported (golint)
    • Line 62: warning: exported method ApplicationBuilder.SetHostBuildContext should have comment or be unexported (golint)
    • yoyogo/examples/grpc-demo/services/greeterservice.go
    • Line 11: warning: exported type GreeterServer should have comment or be unexported (golint)
    • Line 16: warning: exported function NewGreeterServer should have comment or be unexported (golint)
    • Line 22: warning: exported method GreeterServer.SayHello should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method GreeterServer.SayList should be of the form "SayList ..." (golint)
    • Line 35: warning: comment on exported method GreeterServer.SayRecord should be of the form "SayRecord ..." (golint)
    • Line 50: warning: comment on exported method GreeterServer.SayRoute should be of the form "SayRoute ..." (golint)
    • yoyogo/abstractions/servicediscovery/cache.go
    • Line 17: warning: exported type Cache should have comment or be unexported (golint)
    • Line 23: warning: exported type CacheOptions should have comment or be unexported (golint)
    • Line 27: warning: exported type Option should have comment or be unexported (golint)
    • Line 29: warning: exported function NewCache should have comment or be unexported (golint)
    • yoyogo/abstractions/default_viper_configuration.go
    • Line 12: warning: exported type Configuration should have comment or be unexported (golint)
    • Line 18: warning: exported function NewConfiguration should have comment or be unexported (golint)
    • Line 81: warning: exported method Configuration.Get should have comment or be unexported (golint)
    • Line 85: warning: exported method Configuration.GetString should have comment or be unexported (golint)
    • Line 89: warning: exported method Configuration.GetBool should have comment or be unexported (golint)
    • Line 93: warning: exported method Configuration.GetInt should have comment or be unexported (golint)
    • Line 97: warning: exported method Configuration.GetSection should have comment or be unexported (golint)
    • Line 106: warning: exported method Configuration.Unmarshal should have comment or be unexported (golint)
    • Line 113: warning: exported method Configuration.GetProfile should have comment or be unexported (golint)
    • Line 117: warning: exported method Configuration.GetConfDir should have comment or be unexported (golint)
    • yoyogo/web/binding/binding.go
    • Line 23: warning: exported type Binding should have comment or be unexported (golint)
    • Line 28: warning: exported type BindingBody should have comment or be unexported (golint)
    • Line 79: warning: exported function Default should have comment or be unexported (golint)
    • Line 109: warning: exported function StringToBytes should have comment or be unexported (golint)
    • yoyogo/web/webapplicationbuilder.go
    • Line 17: warning: comment on exported type ApplicationBuilder should be of the form "ApplicationBuilder ..." (with optional leading article) (golint)
    • Line 28: warning: comment on exported function UseClassic should be of the form "UseClassic ..." (golint)
    • Line 33: warning: comment on exported function CreateHttpBuilder should be of the form "CreateHttpBuilder ..." (golint)
    • Line 43: warning: exported function CreateMvcBuilder should have comment or be unexported (golint)
    • Line 57: warning: exported function CreateBlankWebBuilder should have comment or be unexported (golint)
    • Line 61: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 68: warning: comment on exported function NewWebApplicationBuilder should be of the form "NewWebApplicationBuilder ..." (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method ApplicationBuilder.UseEndpoints should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: comment on exported method ApplicationBuilder.Build should be of the form "Build ..." (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 183: warning: exported method ApplicationBuilder.SetHostBuildContext should have comment or be unexported (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 191: warning: exported method ApplicationBuilder.Use should have comment or be unexported (golint)
    • Line 195: warning: comment on exported method ApplicationBuilder.UseMiddleware should be of the form "UseMiddleware ..." (golint)
    • Line 203: warning: comment on exported method ApplicationBuilder.UseMiddlewareFront should be of the form "UseMiddlewareFront ..." (golint)
    • Line 213: warning: comment on exported method ApplicationBuilder.UseStatic should be of the form "UseStatic ..." (golint)
    • Line 218: warning: exported method ApplicationBuilder.UseStaticAssets should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method ApplicationBuilder.UseHandler should be of the form "UseHandler ..." (golint)
    • Line 227: warning: comment on exported method ApplicationBuilder.UseHandlerFunc should be of the form "UseHandlerFunc ..." (golint)
    • Line 232: warning: comment on exported method ApplicationBuilder.UseFunc should be of the form "UseFunc ..." (golint)
    • yoyogo/web/actionresult/data.go
    • Line 19: warning: exported method Data.Render should have comment or be unexported (golint)
    • Line 27: warning: exported function FormFileStream should have comment or be unexported (golint)
    • Line 31: warning: exported function FormFile should have comment or be unexported (golint)
    • yoyogo/web/middlewares/jwt.go
    • Line 11: warning: exported type JwtMiddleware should have comment or be unexported (golint)
    • Line 21: warning: exported type JwtRequest should have comment or be unexported (golint)
    • Line 26: warning: exported function NewJwt should have comment or be unexported (golint)
    • Line 30: warning: exported method JwtMiddleware.SetConfiguration should have comment or be unexported (golint)
    • Line 60: warning: exported method JwtMiddleware.Inovke 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)
    • yoyogo/abstractions/health/disk.go
    • Line 8: warning: exported type DiskHealthIndicator should have comment or be unexported (golint)
    • Line 10: warning: exported function NewDiskHealthIndicator should have comment or be unexported (golint)
    • Line 14: warning: exported method DiskHealthIndicator.Health should have comment or be unexported (golint)
    • yoyogo/examples/xxl-job-console/demojob.go
    • Line 8: warning: exported type DemoJob should have comment or be unexported (golint)
    • Line 11: warning: exported function NewDemoJob should have comment or be unexported (golint)
    • Line 15: warning: exported method DemoJob.Execute should have comment or be unexported (golint)
    • yoyogo/web/session/manager.go
    • Line 9: warning: comment on exported type Manager should be of the form "Manager ..." (with optional leading article) (golint)
    • Line 57: warning: exported method Manager.NewSession should have comment or be unexported (golint)
    • yoyogo/utils/jwt/hmac.go
    • Line 9: warning: comment on exported type SigningMethodHMAC should be of the form "SigningMethodHMAC ..." (with optional leading article) (golint)
    • Line 44: warning: exported method SigningMethodHMAC.Alg should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method SigningMethodHMAC.Sign should be of the form "Sign ..." (golint)
    • yoyogo/web/actionresult/json.go
    • Line 12: warning: exported type Json should have comment or be unexported (golint)
    • Line 16: warning: exported type IndentedJson should have comment or be unexported (golint)
    • Line 20: warning: exported type SecureJson should have comment or be unexported (golint)
    • Line 25: warning: exported type Jsonp should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type AsciiJson should be of the form "AsciiJson ..." (with optional leading article) (golint)
    • Line 35: warning: comment on exported type PureJson should be of the form "PureJson ..." (with optional leading article) (golint)
    • Line 62: warning: exported function SetJsonSerializeEncoder should have comment or be unexported (golint)
    • Line 66: warning: comment on exported method Json.Render should be of the form "Render ..." (golint)
    • Line 75: warning: exported method Json.WriteContentType should have comment or be unexported (golint)
    • Line 79: warning: comment on exported method IndentedJson.Render should be of the form "Render ..." (golint)
    • Line 90: warning: exported method IndentedJson.WriteContentType should have comment or be unexported (golint)
    • Line 94: warning: comment on exported method SecureJson.Render should be of the form "Render ..." (golint)
    • Line 114: warning: exported method SecureJson.WriteContentType should have comment or be unexported (golint)
    • Line 118: warning: comment on exported method Jsonp.Render should be of the form "Render ..." (golint)
    • Line 153: warning: exported method Jsonp.WriteContentType should have comment or be unexported (golint)
    • Line 157: warning: comment on exported method AsciiJson.Render should be of the form "Render ..." (golint)
    • Line 179: warning: exported method AsciiJson.WriteContentType should have comment or be unexported (golint)
    • Line 183: warning: comment on exported method PureJson.Render should be of the form "Render ..." (golint)
    • yoyogo/grpc/host.go
    • Line 8: warning: exported type Host should have comment or be unexported (golint)
    • Line 12: warning: exported function NewHost should have comment or be unexported (golint)
    • Line 16: warning: exported method Host.Run should have comment or be unexported (golint)
    • yoyogo/examples/console/service.go
    • Line 5: warning: exported type Service1 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewService should have comment or be unexported (golint)
    • Line 12: warning: exported method Service1.Run should have comment or be unexported (golint)
    • Line 17: warning: exported method Service1.Stop should have comment or be unexported (golint)
    • yoyogo/pkg/cache/redis/geo.go
    • Line 3: warning: exported type GeoEnum should have comment or be unexported (golint)
    • Line 5: warning: exported type GeoUnit should have comment or be unexported (golint)
    • Line 22: warning: exported type Geo should have comment or be unexported (golint)
    • Line 26: warning: exported type GeoPosition should have comment or be unexported (golint)
    • Line 35: warning: exported type GeoDistInfo should have comment or be unexported (golint)
    • Line 40: warning: exported type GeoRadiusQuery should have comment or be unexported (golint)
    • Line 55: warning: exported type GeoRadiusByMemberQuery should have comment or be unexported (golint)
    • Line 69: warning: comment on exported method Geo.GeoAdd should be of the form "GeoAdd ..." (golint)
    • Line 83: warning: comment on exported method Geo.GeoAddArr should be of the form "GeoAddArr ..." (golint)
    • Line 91: warning: comment on exported method Geo.GeoPos should be of the form "GeoPos ..." (golint)
    • Line 94: warning: error should be the last type when returning multiple items (golint)
    • Line 102: warning: comment on exported method Geo.GeoPosArr should be of the form "GeoPosArr ..." (golint)
    • Line 105: warning: error should be the last type when returning multiple items (golint)
    • Line 124: warning: exported function GetSort should have comment or be unexported (golint)
    • Line 137: warning: comment on exported method Geo.GeoDist should be of the form "GeoDist ..." (golint)
    • Line 140: warning: error should be the last type when returning multiple items (golint)
    • Line 144: warning: comment on exported method Geo.GeoRadius should be of the form "GeoRadius ..." (golint)
    • Line 147: warning: error should be the last type when returning multiple items (golint)
    • Line 151: warning: comment on exported method Geo.GeoRadiusByMember should be of the form "GeoRadiusByMember ..." (golint)
    • Line 154: warning: error should be the last type when returning multiple items (golint)
    • yoyogo/pkg/servicediscovery/memory/registrar.go
    • Line 8: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 12: warning: exported function NewServerDiscovery should have comment or be unexported (golint)
    • Line 29: warning: exported method Registrar.GetName should have comment or be unexported (golint)
    • Line 33: warning: exported method Registrar.Register should have comment or be unexported (golint)
    • Line 37: warning: exported method Registrar.Update should have comment or be unexported (golint)
    • Line 41: warning: exported method Registrar.Unregister should have comment or be unexported (golint)
    • Line 45: warning: exported method Registrar.GetHealthyInstances should have comment or be unexported (golint)
    • Line 49: warning: exported method Registrar.GetAllInstances should have comment or be unexported (golint)
    • Line 53: warning: exported method Registrar.Destroy should have comment or be unexported (golint)
    • Line 57: warning: exported method Registrar.Watch should have comment or be unexported (golint)
    • Line 61: warning: exported method Registrar.GetAllServices should have comment or be unexported (golint)
    • yoyogo/web/actionresult/yaml.go
    • Line 8: warning: exported type YAML should have comment or be unexported (golint)
    • Line 14: warning: exported method YAML.WriteContentType should have comment or be unexported (golint)
    • Line 18: warning: exported method YAML.Render should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (exit status 3)


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!