Preparing report...

Report for github.com/snail007/gmc

A+    Excellent!    Found 81 issues across 212 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


gocyclo91%

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.

    • gmc/module/cache/memory_test.go
    • Line 1685: warning: cyclomatic complexity 31 of function TestGetWithExpiration() is high (> 15) (gocyclo)
    • Line 1264: warning: cyclomatic complexity 24 of function testFillAndSerialize() is high (> 15) (gocyclo)
    • Line 23: warning: cyclomatic complexity 16 of function TestCache() is high (> 15) (gocyclo)
    • gmc/module/db/mysql.go
    • Line 836: warning: cyclomatic complexity 18 of function (*MySQLActiveRecord).compileWhere() is high (> 15) (gocyclo)
    • Line 251: warning: cyclomatic complexity 17 of function (*MySQLDB).Query() is high (> 15) (gocyclo)
    • gmc/http/router/tree.go
    • Line 507: warning: cyclomatic complexity 48 of function (*node).findCaseInsensitivePathRec() is high (> 15) (gocyclo)
    • Line 332: warning: cyclomatic complexity 36 of function (*node).getValue() is high (> 15) (gocyclo)
    • Line 115: warning: cyclomatic complexity 21 of function (*node).addRoute() is high (> 15) (gocyclo)
    • gmc/module/db/sqlite3.go
    • Line 863: warning: cyclomatic complexity 18 of function (*SQLite3ActiveRecord).compileWhere() is high (> 15) (gocyclo)
    • Line 280: warning: cyclomatic complexity 17 of function (*SQLite3DB).Query() is high (> 15) (gocyclo)
    • gmc/module/cache/memory.go
    • Line 555: warning: cyclomatic complexity 18 of function (*cache).Decrement() is high (> 15) (gocyclo)
    • Line 193: warning: cyclomatic complexity 18 of function (*cache).Increment() is high (> 15) (gocyclo)
    • gmc/util/cast/caste.go
    • Line 628: warning: cyclomatic complexity 26 of function ToUint16E() is high (> 15) (gocyclo)
    • Line 696: warning: cyclomatic complexity 26 of function ToUint8E() is high (> 15) (gocyclo)
    • Line 424: warning: cyclomatic complexity 26 of function ToUintE() is high (> 15) (gocyclo)
    • Line 560: warning: cyclomatic complexity 26 of function ToUint32E() is high (> 15) (gocyclo)
    • Line 492: warning: cyclomatic complexity 26 of function ToUint64E() is high (> 15) (gocyclo)
    • Line 803: warning: cyclomatic complexity 25 of function ToStringE() is high (> 15) (gocyclo)
    • Line 886: warning: cyclomatic complexity 22 of function ToStringMapStringSliceE() is high (> 15) (gocyclo)
    • Line 377: warning: cyclomatic complexity 19 of function ToIntE() is high (> 15) (gocyclo)
    • Line 283: warning: cyclomatic complexity 19 of function ToInt16E() is high (> 15) (gocyclo)
    • Line 236: warning: cyclomatic complexity 19 of function ToInt32E() is high (> 15) (gocyclo)
    • Line 189: warning: cyclomatic complexity 19 of function ToInt64E() is high (> 15) (gocyclo)
    • Line 330: warning: cyclomatic complexity 19 of function ToInt8E() is high (> 15) (gocyclo)
    • Line 99: warning: cyclomatic complexity 18 of function ToFloat64E() is high (> 15) (gocyclo)
    • Line 144: warning: cyclomatic complexity 18 of function ToFloat32E() is high (> 15) (gocyclo)

golint68%

Golint is a linter for Go source code.

    • gmc/module/app/examples/basic/basic.go
    • Line 15: warning: exported type MyService should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMyService should have comment or be unexported (golint)
    • Line 25: warning: exported method MyService.Init should have comment or be unexported (golint)
    • Line 30: warning: exported method MyService.Start should have comment or be unexported (golint)
    • Line 38: warning: exported method MyService.Stop should have comment or be unexported (golint)
    • Line 44: warning: exported method MyService.GracefulStop should have comment or be unexported (golint)
    • Line 49: warning: exported method MyService.SetLog should have comment or be unexported (golint)
    • Line 52: warning: exported method MyService.InjectListeners should have comment or be unexported (golint)
    • Line 55: warning: exported method MyService.Listeners should have comment or be unexported (golint)
    • gmc/http/server/server.go
    • Line 34: warning: exported function SetBinData should have comment or be unexported (golint)
    • Line 45: warning: exported type HTTPServer should have comment or be unexported (golint)
    • Line 71: warning: exported method HTTPServer.SetCtx should have comment or be unexported (golint)
    • Line 81: warning: exported function NewHTTPServer should have comment or be unexported (golint)
    • Line 110: warning: exported method HTTPServer.Ctx should have comment or be unexported (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 218: warning: exported method HTTPServer.SetNotFoundHandler should have comment or be unexported (golint)
    • Line 221: warning: exported method HTTPServer.SetErrorHandler should have comment or be unexported (golint)
    • Line 258: warning: exported method HTTPServer.SetConfig should have comment or be unexported (golint)
    • Line 261: warning: exported method HTTPServer.Config should have comment or be unexported (golint)
    • Line 265: warning: exported method HTTPServer.ActiveConnCount should have comment or be unexported (golint)
    • Line 268: warning: exported method HTTPServer.Close should have comment or be unexported (golint)
    • Line 271: warning: exported method HTTPServer.Listener should have comment or be unexported (golint)
    • Line 284: warning: exported method HTTPServer.Server should have comment or be unexported (golint)
    • Line 287: warning: exported method HTTPServer.SetLogger should have comment or be unexported (golint)
    • Line 298: warning: exported method HTTPServer.Logger should have comment or be unexported (golint)
    • Line 301: warning: exported method HTTPServer.SetRouter should have comment or be unexported (golint)
    • Line 304: warning: exported method HTTPServer.Router should have comment or be unexported (golint)
    • Line 307: warning: exported method HTTPServer.SetTpl should have comment or be unexported (golint)
    • Line 310: warning: exported method HTTPServer.Tpl should have comment or be unexported (golint)
    • Line 313: warning: exported method HTTPServer.SetSessionStore should have comment or be unexported (golint)
    • Line 316: warning: exported method HTTPServer.SessionStore should have comment or be unexported (golint)
    • Line 319: warning: exported method HTTPServer.AddMiddleware0 should have comment or be unexported (golint)
    • Line 322: warning: exported method HTTPServer.AddMiddleware1 should have comment or be unexported (golint)
    • Line 325: warning: exported method HTTPServer.AddMiddleware2 should have comment or be unexported (golint)
    • Line 328: warning: exported method HTTPServer.AddMiddleware3 should have comment or be unexported (golint)
    • Line 345: warning: exported method HTTPServer.Listen should have comment or be unexported (golint)
    • Line 373: warning: exported method HTTPServer.ListenTLS should have comment or be unexported (golint)
    • gmc/util/testing/testing.go
    • Line 72: warning: exported function InGMCT should have comment or be unexported (golint)
    • Line 76: warning: exported function DebugRunProcess should have comment or be unexported (golint)
    • Line 155: warning: exported type Process should have comment or be unexported (golint)
    • gmc/module/cache/redis.go
    • Line 18: warning: exported type RedisCacheConfig should have comment or be unexported (golint)
    • Line 33: warning: exported function NewRedisCacheConfig should have comment or be unexported (golint)
    • Line 48: warning: exported type RedisCache should have comment or be unexported (golint)
    • Line 55: warning: exported method RedisCache.Pool should have comment or be unexported (golint)
    • gmc/demos/website/controller/demo.go
    • Line 16: warning: exported type Demo should have comment or be unexported (golint)
    • Line 22: warning: exported method Demo.Before should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: exported method Demo.Index__ should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 31: warning: don't use underscores in Go names; method Index__ should be Index (golint)
    • Line 41: warning: exported method Demo.Hello should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method Demo.After should have comment or be unexported (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method Demo.Protected should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method Demo.DB should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method Demo.SessionSet should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method Demo.SessionGet should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method Demo.SessionGet1 should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method Demo.Error500 should have comment or be unexported (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 93: warning: exported method Demo.Version should have comment or be unexported (golint)
    • Line 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: exported method Demo.Func should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 104: warning: exported method Demo.I18n1 should have comment or be unexported (golint)
    • Line 104: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method Demo.I18n2 should have comment or be unexported (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 113: warning: exported method Demo.I18n3 should have comment or be unexported (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: exported method Demo.Cache should have comment or be unexported (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 123: warning: exported method Demo.List should have comment or be unexported (golint)
    • Line 123: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: exported method Demo.Layout should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: exported method Demo.Layout2 should have comment or be unexported (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method Demo.Conn should have comment or be unexported (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 144: warning: exported method Demo.TplErr should have comment or be unexported (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/module/error/error.go
    • Line 28: warning: exported function New should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method Error.StackError should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method Error.WrapN should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method Error.WrapPrefixN should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: exported method Error.StackStr should have comment or be unexported (golint)
    • Line 204: warning: exported method Error.Recover should have comment or be unexported (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/util/captcha/bilinear.go
    • Line 20: warning: exported type Bilinear should have comment or be unexported (golint)
    • Line 22: warning: exported method Bilinear.RGBA should have comment or be unexported (golint)
    • Line 61: warning: exported type BilinearSrc should have comment or be unexported (golint)
    • gmc/module/db/helper.go
    • Line 24: warning: exported type M should have comment or be unexported (golint)
    • Line 98: warning: exported function DB should have comment or be unexported (golint)
    • gmc/http/router/httprouter.go
    • Line 48: warning: exported type HTTPRouter should have comment or be unexported (golint)
    • Line 58: warning: exported function NewHTTPRouter should have comment or be unexported (golint)
    • Line 85: warning: exported method HTTPRouter.Namespace should have comment or be unexported (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/util/strings/strings.go
    • Line 8: warning: exported function BytesRef should have comment or be unexported (golint)
    • Line 18: warning: exported function StringRef should have comment or be unexported (golint)
    • gmc/module/db/model.go
    • Line 15: warning: exported type Model should have comment or be unexported (golint)
    • Line 22: warning: exported function Table should have comment or be unexported (golint)
    • Line 48: warning: exported method Model.QuerySQL should have comment or be unexported (golint)
    • Line 59: warning: exported method Model.ExecSQL should have comment or be unexported (golint)
    • Line 71: warning: exported method Model.GetByID should have comment or be unexported (golint)
    • Line 75: warning: exported method Model.GetByIDWithFields should have comment or be unexported (golint)
    • Line 87: warning: exported method Model.GetBy should have comment or be unexported (golint)
    • Line 91: warning: exported method Model.GetByWithFields should have comment or be unexported (golint)
    • Line 101: warning: exported method Model.MGetByIDs should have comment or be unexported (golint)
    • Line 105: warning: exported method Model.MGetByIDsRs should have comment or be unexported (golint)
    • Line 109: warning: exported method Model.MGetByIDsWithFields should have comment or be unexported (golint)
    • Line 118: warning: exported method Model.MGetByIDsWithFieldsRs should have comment or be unexported (golint)
    • Line 128: warning: exported method Model.GetAll should have comment or be unexported (golint)
    • Line 132: warning: exported method Model.GetAllRs should have comment or be unexported (golint)
    • Line 136: warning: exported method Model.GetAllWithFields should have comment or be unexported (golint)
    • Line 140: warning: exported method Model.GetAllWithFieldsRs should have comment or be unexported (golint)
    • Line 144: warning: exported method Model.MGetBy should have comment or be unexported (golint)
    • Line 148: warning: exported method Model.MGetByRs should have comment or be unexported (golint)
    • Line 152: warning: exported method Model.MGetByWithFields should have comment or be unexported (golint)
    • Line 161: warning: exported method Model.MGetByWithFieldsRs should have comment or be unexported (golint)
    • Line 169: warning: exported method Model.DeleteBy should have comment or be unexported (golint)
    • Line 179: warning: exported method Model.DeleteByIDs should have comment or be unexported (golint)
    • Line 191: warning: exported method Model.Insert should have comment or be unexported (golint)
    • Line 201: warning: exported method Model.InsertBatch should have comment or be unexported (golint)
    • Line 212: warning: exported method Model.UpdateByIDs should have comment or be unexported (golint)
    • Line 224: warning: exported method Model.UpdateBy should have comment or be unexported (golint)
    • Line 234: warning: exported method Model.Page should have comment or be unexported (golint)
    • Line 238: warning: exported method Model.PageWithFields should have comment or be unexported (golint)
    • Line 263: warning: exported method Model.List should have comment or be unexported (golint)
    • Line 267: warning: exported method Model.ListWithFields should have comment or be unexported (golint)
    • Line 282: warning: exported method Model.OrderBy should have comment or be unexported (golint)
    • gmc/http/view/view.go
    • Line 16: warning: exported type View should have comment or be unexported (golint)
    • Line 27: warning: exported function New should have comment or be unexported (golint)
    • Line 36: warning: exported method View.Err should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: 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 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/http/session/filestore.go
    • Line 20: warning: exported type FileStoreConfig should have comment or be unexported (golint)
    • Line 32: warning: exported function NewFileStoreConfig should have comment or be unexported (golint)
    • Line 42: warning: exported type FileStore should have comment or be unexported (golint)
    • Line 48: warning: exported function NewFileStore should have comment or be unexported (golint)
    • Line 78: warning: exported method FileStore.Load should have comment or be unexported (golint)
    • Line 106: warning: exported method FileStore.Save should have comment or be unexported (golint)
    • Line 125: warning: exported method FileStore.Delete should have comment or be unexported (golint)
    • Line 234: warning: exported function ExistsFile should have comment or be unexported (golint)
    • Line 250: warning: exported function ExistsDir should have comment or be unexported (golint)
    • gmc/module/error/stackframe.go
    • Line 49: warning: exported method StackFrame.GetFile should have comment or be unexported (golint)
    • Line 53: warning: exported method StackFrame.GetLineNumber should have comment or be unexported (golint)
    • Line 57: warning: exported method StackFrame.GetName should have comment or be unexported (golint)
    • Line 61: warning: exported method StackFrame.GetPackage should have comment or be unexported (golint)
    • Line 65: warning: exported method StackFrame.GetProgramCounter should have comment or be unexported (golint)
    • gmc/http/session/session.go
    • Line 26: warning: exported type Session should have comment or be unexported (golint)
    • Line 46: warning: exported function NewSession should have comment or be unexported (golint)
    • Line 55: warning: exported method Session.Set should have comment or be unexported (golint)
    • Line 67: warning: exported method Session.Get should have comment or be unexported (golint)
    • Line 80: warning: exported method Session.Delete should have comment or be unexported (golint)
    • Line 90: warning: exported method Session.Destroy should have comment or be unexported (golint)
    • Line 101: warning: exported method Session.Values should have comment or be unexported (golint)
    • Line 114: warning: exported method Session.IsDestroy should have comment or be unexported (golint)
    • Line 117: warning: exported method Session.SessionID should have comment or be unexported (golint)
    • Line 125: warning: exported method Session.Touch should have comment or be unexported (golint)
    • Line 144: warning: exported method Session.Serialize should have comment or be unexported (golint)
    • Line 165: warning: exported method Session.Unserialize should have comment or be unexported (golint)
    • gmc/core/http.go
    • Line 21: warning: exported type Handler should have comment or be unexported (golint)
    • Line 22: warning: exported type Middleware should have comment or be unexported (golint)
    • Line 71: warning: exported var DefaultCookieOptions should have comment or be unexported (golint)
    • Line 79: warning: exported type Cookies should have comment or be unexported (golint)
    • Line 85: warning: exported type SessionStorage should have comment or be unexported (golint)
    • Line 91: warning: exported type Session should have comment or be unexported (golint)
    • Line 105: warning: exported type Template should have comment or be unexported (golint)
    • Line 114: warning: exported type View should have comment or be unexported (golint)
    • Line 125: warning: exported type HTTPRouter should have comment or be unexported (golint)
    • Line 150: warning: exported type APIServer should have comment or be unexported (golint)
    • Line 176: warning: exported type HTTPServer should have comment or be unexported (golint)
    • Line 203: warning: exported type Controller should have comment or be unexported (golint)
    • Line 224: warning: exported type ResponseWriter should have comment or be unexported (golint)
    • gmc/module/log/writer.go
    • Line 18: warning: exported type FileWriter should have comment or be unexported (golint)
    • Line 28: warning: exported function NewFileWriter should have comment or be unexported (golint)
    • gmc/util/sync/once/once.go
    • Line 18: warning: exported function OnceDo should have comment or be unexported (golint)
    • Line 24: warning: exported function LoadOnce should have comment or be unexported (golint)
    • Line 34: warning: exported function RemoveOnce should have comment or be unexported (golint)
    • gmc/internal/util/http/writer.go
    • Line 15: warning: exported type ResponseWriter should have comment or be unexported (golint)
    • Line 22: warning: exported method ResponseWriter.ClearData should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method ResponseWriter.Data should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: exported method ResponseWriter.SetData should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method ResponseWriter.WriteHeader should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method ResponseWriter.StatusCode should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported function StatusCode should have comment or be unexported (golint)
    • Line 64: warning: exported function WriteCount should have comment or be unexported (golint)
    • Line 71: warning: exported method ResponseWriter.Hijack should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported function NewResponseWriter should have comment or be unexported (golint)
    • gmc/util/bytes/size.go
    • Line 15: warning: exported type ByteSize should have comment or be unexported (golint)
    • Line 18: warning: exported const B should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported var ErrBits should have comment or be unexported (golint)
    • Line 31: warning: exported function ParseSize should have comment or be unexported (golint)
    • Line 40: warning: exported function SizeStr should have comment or be unexported (golint)
    • Line 53: warning: exported method ByteSize.Bytes should have comment or be unexported (golint)
    • Line 57: warning: exported method ByteSize.KBytes should have comment or be unexported (golint)
    • Line 61: warning: exported method ByteSize.MBytes should have comment or be unexported (golint)
    • Line 65: warning: exported method ByteSize.GBytes should have comment or be unexported (golint)
    • Line 69: warning: exported method ByteSize.TBytes should have comment or be unexported (golint)
    • Line 73: warning: exported method ByteSize.PBytes should have comment or be unexported (golint)
    • Line 77: warning: exported method ByteSize.EBytes should have comment or be unexported (golint)
    • Line 81: warning: exported method ByteSize.HumanReadable should have comment or be unexported (golint)
    • Line 116: warning: exported method ByteSize.HR should have comment or be unexported (golint)
    • Line 124: warning: exported method ByteSize.MustParse should have comment or be unexported (golint)
    • Line 129: warning: exported method ByteSize.Parse should have comment or be unexported (golint)
    • gmc/http/server/api.go
    • Line 28: warning: exported type APIServer should have comment or be unexported (golint)
    • Line 50: warning: exported function NewAPIServerForProvider should have comment or be unexported (golint)
    • Line 56: warning: exported function NewAPIServer should have comment or be unexported (golint)
    • Line 88: warning: exported function NewDefaultAPIServer should have comment or be unexported (golint)
    • Line 114: warning: exported method APIServer.Ctx should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: exported method APIServer.Address should have comment or be unexported (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 176: warning: exported method APIServer.Server should have comment or be unexported (golint)
    • Line 176: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: exported method APIServer.Router should have comment or be unexported (golint)
    • Line 179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: exported method APIServer.SetTLSFile should have comment or be unexported (golint)
    • Line 182: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: exported method APIServer.SetLogger should have comment or be unexported (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 188: warning: exported method APIServer.Logger should have comment or be unexported (golint)
    • Line 188: 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 APIServer.AddMiddleware0 should have comment or be unexported (golint)
    • Line 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 194: warning: exported method APIServer.AddMiddleware1 should have comment or be unexported (golint)
    • Line 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 197: warning: exported method APIServer.AddMiddleware2 should have comment or be unexported (golint)
    • Line 197: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 200: warning: exported method APIServer.AddMiddleware3 should have comment or be unexported (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 203: warning: exported method APIServer.SetNotFoundHandler should have comment or be unexported (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: exported method APIServer.SetErrorHandler should have comment or be unexported (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: exported method APIServer.ShowErrorStack should have comment or be unexported (golint)
    • Line 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: exported method APIServer.Ext should have comment or be unexported (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 217: warning: exported method APIServer.API should have comment or be unexported (golint)
    • Line 217: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 229: warning: exported method APIServer.Group should have comment or be unexported (golint)
    • Line 229: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 239: warning: exported method APIServer.Run should have comment or be unexported (golint)
    • Line 239: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 274: warning: exported method APIServer.ActiveConnCount should have comment or be unexported (golint)
    • Line 293: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 301: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 348: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 354: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 359: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 371: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 376: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 381: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 385: warning: exported method APIServer.Listener should have comment or be unexported (golint)
    • Line 385: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/module/db/resultset.go
    • Line 15: warning: exported type ResultSet should have comment or be unexported (golint)
    • Line 25: warning: exported function NewResultSet should have comment or be unexported (golint)
    • Line 35: warning: exported method ResultSet.SQL should have comment or be unexported (golint)
    • Line 39: warning: exported method ResultSet.Len should have comment or be unexported (golint)
    • Line 43: warning: exported method ResultSet.LastInsertID should have comment or be unexported (golint)
    • Line 47: warning: exported method ResultSet.RowsAffected should have comment or be unexported (golint)
    • Line 51: warning: exported method ResultSet.TimeUsed should have comment or be unexported (golint)
    • Line 55: warning: exported method ResultSet.MapRows should have comment or be unexported (golint)
    • Line 66: warning: exported method ResultSet.MapStructs should have comment or be unexported (golint)
    • Line 82: warning: exported method ResultSet.Rows should have comment or be unexported (golint)
    • Line 93: warning: exported method ResultSet.Structs should have comment or be unexported (golint)
    • Line 109: warning: exported method ResultSet.Row should have comment or be unexported (golint)
    • Line 119: warning: exported method ResultSet.Struct should have comment or be unexported (golint)
    • Line 125: warning: exported method ResultSet.Values should have comment or be unexported (golint)
    • Line 132: warning: exported method ResultSet.MapValues should have comment or be unexported (golint)
    • Line 139: warning: exported method ResultSet.Value should have comment or be unexported (golint)
    • gmc/module/cache/file.go
    • Line 28: warning: exported type FileCacheConfig should have comment or be unexported (golint)
    • Line 33: warning: exported function NewFileCacheConfig should have comment or be unexported (golint)
    • Line 220: warning: exported method FileCache.SetMulti should have comment or be unexported (golint)
    • Line 229: warning: exported method FileCache.DelMulti should have comment or be unexported (golint)
    • Line 285: warning: exported function Exists should have comment or be unexported (golint)
    • gmc/module/config/config.go
    • Line 17: warning: exported type Config should have comment or be unexported (golint)
    • Line 21: warning: exported method Config.Sub should have comment or be unexported (golint)
    • Line 29: warning: exported function New should have comment or be unexported (golint)
    • Line 37: warning: exported function NewFromFile should have comment or be unexported (golint)
    • Line 51: warning: exported function NewConfigBytes should have comment or be unexported (golint)
    • gmc/module/app/app.go
    • Line 17: warning: exported type GMCApp should have comment or be unexported (golint)
    • Line 30: warning: exported method GMCApp.Ctx should have comment or be unexported (golint)
    • Line 34: warning: exported method GMCApp.SetCtx should have comment or be unexported (golint)
    • Line 38: warning: exported function NewApp should have comment or be unexported (golint)
    • Line 45: warning: exported function New should have comment or be unexported (golint)
    • Line 61: warning: exported function Default should have comment or be unexported (golint)
    • Line 124: warning: exported method GMCApp.SetConfigFile should have comment or be unexported (golint)
    • Line 127: warning: exported method GMCApp.SetConfig should have comment or be unexported (golint)
    • Line 130: warning: exported method GMCApp.AttachConfigFile should have comment or be unexported (golint)
    • Line 133: warning: exported method GMCApp.AttachConfig should have comment or be unexported (golint)
    • Line 194: warning: exported method GMCApp.Run should have comment or be unexported (golint)
    • Line 224: warning: exported method GMCApp.Stop should have comment or be unexported (golint)
    • Line 238: warning: exported method GMCApp.OnRun should have comment or be unexported (golint)
    • Line 241: warning: exported method GMCApp.OnShutdown should have comment or be unexported (golint)
    • Line 244: warning: exported method GMCApp.SetBlock should have comment or be unexported (golint)
    • Line 247: warning: exported method GMCApp.AddService should have comment or be unexported (golint)
    • Line 252: warning: exported method GMCApp.SetLogger should have comment or be unexported (golint)
    • Line 256: warning: exported method GMCApp.Logger should have comment or be unexported (golint)
    • gmc/http/server/server_test.go
    • Line 522: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 529: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/util/process/hook/hook.go
    • Line 20: warning: exported var IsMock should have comment or be unexported (golint)
    • Line 24: warning: exported function RegistShutdown should have comment or be unexported (golint)
    • Line 28: warning: exported function WaitShutdown should have comment or be unexported (golint)
    • gmc/http/session/memorystore.go
    • Line 15: warning: exported type MemoryStoreConfig should have comment or be unexported (golint)
    • Line 21: warning: exported function NewMemoryStoreConfig should have comment or be unexported (golint)
    • Line 29: warning: exported type MemoryStore should have comment or be unexported (golint)
    • Line 35: warning: exported function NewMemoryStore should have comment or be unexported (golint)
    • Line 46: warning: exported method MemoryStore.Load should have comment or be unexported (golint)
    • Line 60: warning: exported method MemoryStore.Save should have comment or be unexported (golint)
    • Line 65: warning: exported method MemoryStore.Delete should have comment or be unexported (golint)
    • gmc/util/http/client.go
    • Line 30: warning: exported function Get should have comment or be unexported (golint)
    • Line 34: warning: exported function Post should have comment or be unexported (golint)
    • Line 38: warning: exported function PostOfReader should have comment or be unexported (golint)
    • Line 42: warning: exported function Upload should have comment or be unexported (golint)
    • Line 46: warning: exported function UploadOfReader should have comment or be unexported (golint)
    • Line 50: warning: exported function Download should have comment or be unexported (golint)
    • Line 54: warning: exported function DownloadToFile should have comment or be unexported (golint)
    • Line 58: warning: exported function DownloadToWriter should have comment or be unexported (golint)
    • Line 504: warning: exported type CookieJar should have comment or be unexported (golint)
    • Line 508: warning: exported function NewCookieJar should have comment or be unexported (golint)
    • Line 515: warning: exported method CookieJar.SetCookies should have comment or be unexported (golint)
    • Line 525: warning: exported method CookieJar.Cookies should have comment or be unexported (golint)
    • gmc/core/provider.go
    • Line 11: warning: exported const DefaultProviderKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported function RegisterSession should have comment or be unexported (golint)
    • Line 20: warning: exported function ProviderSession should have comment or be unexported (golint)
    • Line 24: warning: exported function RegisterSessionStorage should have comment or be unexported (golint)
    • Line 28: warning: exported function ProviderSessionStorage should have comment or be unexported (golint)
    • Line 32: warning: exported function RegisterCache should have comment or be unexported (golint)
    • Line 36: warning: exported function ProviderCache should have comment or be unexported (golint)
    • Line 40: warning: exported function RegisterView should have comment or be unexported (golint)
    • Line 44: warning: exported function ProviderView should have comment or be unexported (golint)
    • Line 48: warning: exported function RegisterTemplate should have comment or be unexported (golint)
    • Line 52: warning: exported function ProviderTemplate should have comment or be unexported (golint)
    • Line 56: warning: exported function RegisterDatabase should have comment or be unexported (golint)
    • Line 60: warning: exported function ProviderDatabase should have comment or be unexported (golint)
    • Line 64: warning: exported function RegisterDatabaseGroup should have comment or be unexported (golint)
    • Line 68: warning: exported function ProviderDatabaseGroup should have comment or be unexported (golint)
    • Line 72: warning: exported function RegisterHTTPRouter should have comment or be unexported (golint)
    • Line 76: warning: exported function ProviderHTTPRouter should have comment or be unexported (golint)
    • Line 80: warning: exported function RegisterConfig should have comment or be unexported (golint)
    • Line 84: warning: exported function ProviderConfig should have comment or be unexported (golint)
    • Line 88: warning: exported function RegisterLogger should have comment or be unexported (golint)
    • Line 92: warning: exported function ProviderLogger should have comment or be unexported (golint)
    • Line 96: warning: exported function RegisterController should have comment or be unexported (golint)
    • Line 100: warning: exported function ProviderController should have comment or be unexported (golint)
    • Line 104: warning: exported function RegisterCookies should have comment or be unexported (golint)
    • Line 108: warning: exported function ProviderCookies should have comment or be unexported (golint)
    • Line 112: warning: exported function RegisterHTTPServer should have comment or be unexported (golint)
    • Line 116: warning: exported function ProviderHTTPServer should have comment or be unexported (golint)
    • Line 120: warning: exported function RegisterAPIServer should have comment or be unexported (golint)
    • Line 124: warning: exported function ProviderAPIServer should have comment or be unexported (golint)
    • Line 128: warning: exported function RegisterApp should have comment or be unexported (golint)
    • Line 132: warning: exported function ProviderApp should have comment or be unexported (golint)
    • Line 136: warning: exported function RegisterCtx should have comment or be unexported (golint)
    • Line 140: warning: exported function ProviderCtx should have comment or be unexported (golint)
    • Line 144: warning: exported function RegisterError should have comment or be unexported (golint)
    • Line 148: warning: exported function ProviderError should have comment or be unexported (golint)
    • Line 152: warning: exported function RegisterI18n should have comment or be unexported (golint)
    • Line 156: warning: exported function ProviderI18n should have comment or be unexported (golint)
    • Line 160: warning: exported type AutoProvider should have comment or be unexported (golint)
    • Line 202: warning: exported method AutoProvider.RegisterSession should have comment or be unexported (golint)
    • Line 207: warning: exported method AutoProvider.Session should have comment or be unexported (golint)
    • Line 219: warning: exported method AutoProvider.RegisterSessionStorage should have comment or be unexported (golint)
    • Line 224: warning: exported method AutoProvider.SessionStorage should have comment or be unexported (golint)
    • Line 236: warning: exported method AutoProvider.RegisterCache should have comment or be unexported (golint)
    • Line 241: warning: exported method AutoProvider.Cache should have comment or be unexported (golint)
    • Line 253: warning: exported method AutoProvider.RegisterView should have comment or be unexported (golint)
    • Line 258: warning: exported method AutoProvider.View should have comment or be unexported (golint)
    • Line 270: warning: exported method AutoProvider.RegisterTemplate should have comment or be unexported (golint)
    • Line 275: warning: exported method AutoProvider.Template should have comment or be unexported (golint)
    • Line 287: warning: exported method AutoProvider.RegisterDatabase should have comment or be unexported (golint)
    • Line 292: warning: exported method AutoProvider.Database should have comment or be unexported (golint)
    • Line 304: warning: exported method AutoProvider.RegisterDatabaseGroup should have comment or be unexported (golint)
    • Line 309: warning: exported method AutoProvider.DatabaseGroup should have comment or be unexported (golint)
    • Line 321: warning: exported method AutoProvider.RegisterHTTPRouter should have comment or be unexported (golint)
    • Line 326: warning: exported method AutoProvider.HTTPRouter should have comment or be unexported (golint)
    • Line 338: warning: exported method AutoProvider.RegisterConfig should have comment or be unexported (golint)
    • Line 343: warning: exported method AutoProvider.Config should have comment or be unexported (golint)
    • Line 355: warning: exported method AutoProvider.RegisterLogger should have comment or be unexported (golint)
    • Line 360: warning: exported method AutoProvider.Logger should have comment or be unexported (golint)
    • Line 372: warning: exported method AutoProvider.RegisterController should have comment or be unexported (golint)
    • Line 377: warning: exported method AutoProvider.Controller should have comment or be unexported (golint)
    • Line 389: warning: exported method AutoProvider.RegisterCookies should have comment or be unexported (golint)
    • Line 394: warning: exported method AutoProvider.Cookies should have comment or be unexported (golint)
    • Line 406: warning: exported method AutoProvider.RegisterHTTPServer should have comment or be unexported (golint)
    • Line 411: warning: exported method AutoProvider.HTTPServer should have comment or be unexported (golint)
    • Line 423: warning: exported method AutoProvider.RegisterAPIServer should have comment or be unexported (golint)
    • Line 428: warning: exported method AutoProvider.APIServer should have comment or be unexported (golint)
    • Line 440: warning: exported method AutoProvider.RegisterApp should have comment or be unexported (golint)
    • Line 445: warning: exported method AutoProvider.App should have comment or be unexported (golint)
    • Line 457: warning: exported method AutoProvider.RegisterCtx should have comment or be unexported (golint)
    • Line 462: warning: exported method AutoProvider.Ctx should have comment or be unexported (golint)
    • Line 474: warning: exported method AutoProvider.RegisterError should have comment or be unexported (golint)
    • Line 491: warning: exported method AutoProvider.RegisterI18n should have comment or be unexported (golint)
    • Line 496: warning: exported method AutoProvider.I18n should have comment or be unexported (golint)
    • Line 508: warning: exported function NewAutoProvider should have comment or be unexported (golint)
    • Line 515: warning: exported type SessionProvider should have comment or be unexported (golint)
    • Line 516: warning: exported type SessionStorageProvider should have comment or be unexported (golint)
    • Line 517: warning: exported type CacheProvider should have comment or be unexported (golint)
    • Line 518: warning: exported type TemplateProvider should have comment or be unexported (golint)
    • Line 519: warning: exported type ViewProvider should have comment or be unexported (golint)
    • Line 520: warning: exported type DatabaseProvider should have comment or be unexported (golint)
    • Line 521: warning: exported type DatabaseGroupProvider should have comment or be unexported (golint)
    • Line 522: warning: exported type HTTPRouterProvider should have comment or be unexported (golint)
    • Line 523: warning: exported type ConfigProvider should have comment or be unexported (golint)
    • Line 524: warning: exported type LoggerProvider should have comment or be unexported (golint)
    • Line 526: warning: exported type ControllerProvider should have comment or be unexported (golint)
    • Line 527: warning: exported type CookiesProvider should have comment or be unexported (golint)
    • Line 528: warning: exported type HTTPServerProvider should have comment or be unexported (golint)
    • Line 529: warning: exported type APIServerProvider should have comment or be unexported (golint)
    • Line 530: warning: exported type AppProvider should have comment or be unexported (golint)
    • Line 531: warning: exported type CtxProvider should have comment or be unexported (golint)
    • Line 532: warning: exported type ErrorProvider should have comment or be unexported (golint)
    • Line 533: warning: exported type I18nProvider should have comment or be unexported (golint)
    • Line 535: warning: exported type ProviderFactory should have comment or be unexported (golint)
    • Line 556: warning: exported method ProviderFactory.RegisterSession should have comment or be unexported (golint)
    • Line 560: warning: exported method ProviderFactory.Session should have comment or be unexported (golint)
    • Line 564: warning: exported method ProviderFactory.SessionStorage should have comment or be unexported (golint)
    • Line 568: warning: exported method ProviderFactory.RegisterSessionStorage should have comment or be unexported (golint)
    • Line 572: warning: exported method ProviderFactory.RegisterCache should have comment or be unexported (golint)
    • Line 576: warning: exported method ProviderFactory.Cache should have comment or be unexported (golint)
    • Line 580: warning: exported method ProviderFactory.RegisterView should have comment or be unexported (golint)
    • Line 584: warning: exported method ProviderFactory.View should have comment or be unexported (golint)
    • Line 588: warning: exported method ProviderFactory.RegisterTemplate should have comment or be unexported (golint)
    • Line 592: warning: exported method ProviderFactory.Template should have comment or be unexported (golint)
    • Line 596: warning: exported method ProviderFactory.RegisterDatabase should have comment or be unexported (golint)
    • Line 600: warning: exported method ProviderFactory.Database should have comment or be unexported (golint)
    • Line 604: warning: exported method ProviderFactory.RegisterDatabaseGroup should have comment or be unexported (golint)
    • Line 608: warning: exported method ProviderFactory.DatabaseGroup should have comment or be unexported (golint)
    • Line 612: warning: exported method ProviderFactory.RegisterHTTPRouter should have comment or be unexported (golint)
    • Line 616: warning: exported method ProviderFactory.HTTPRouter should have comment or be unexported (golint)
    • Line 620: warning: exported method ProviderFactory.RegisterConfig should have comment or be unexported (golint)
    • Line 624: warning: exported method ProviderFactory.Config should have comment or be unexported (golint)
    • Line 628: warning: exported method ProviderFactory.RegisterLogger should have comment or be unexported (golint)
    • Line 632: warning: exported method ProviderFactory.Logger should have comment or be unexported (golint)
    • Line 636: warning: exported method ProviderFactory.RegisterController should have comment or be unexported (golint)
    • Line 640: warning: exported method ProviderFactory.Controller should have comment or be unexported (golint)
    • Line 644: warning: exported method ProviderFactory.RegisterCookies should have comment or be unexported (golint)
    • Line 648: warning: exported method ProviderFactory.Cookies should have comment or be unexported (golint)
    • Line 652: warning: exported method ProviderFactory.RegisterHTTPServer should have comment or be unexported (golint)
    • Line 656: warning: exported method ProviderFactory.HTTPServer should have comment or be unexported (golint)
    • Line 660: warning: exported method ProviderFactory.RegisterAPIServer should have comment or be unexported (golint)
    • Line 664: warning: exported method ProviderFactory.APIServer should have comment or be unexported (golint)
    • Line 668: warning: exported method ProviderFactory.RegisterApp should have comment or be unexported (golint)
    • Line 672: warning: exported method ProviderFactory.App should have comment or be unexported (golint)
    • Line 676: warning: exported method ProviderFactory.RegisterCtx should have comment or be unexported (golint)
    • Line 680: warning: exported method ProviderFactory.Ctx should have comment or be unexported (golint)
    • Line 684: warning: exported method ProviderFactory.RegisterError should have comment or be unexported (golint)
    • Line 692: warning: exported method ProviderFactory.RegisterI18n should have comment or be unexported (golint)
    • Line 696: warning: exported method ProviderFactory.I18n should have comment or be unexported (golint)
    • Line 700: warning: exported function NewProviderFactory should have comment or be unexported (golint)
    • gmc/util/sync/atomic/atomic.go
    • Line 13: warning: exported type Value should have comment or be unexported (golint)
    • Line 18: warning: exported function NewValue should have comment or be unexported (golint)
    • Line 24: warning: exported method Value.Store should have comment or be unexported (golint)
    • Line 30: warning: exported method Value.Load should have comment or be unexported (golint)
    • Line 36: warning: exported method Value.LoadAndStore should have comment or be unexported (golint)
    • gmc/module/db/sqlite3.go
    • Line 25: warning: exported type SQLite3DBGroup should have comment or be unexported (golint)
    • Line 32: warning: exported function NewSQLite3DBGroupCache should have comment or be unexported (golint)
    • Line 40: warning: exported function NewSQLite3DBGroup should have comment or be unexported (golint)
    • Line 47: warning: exported method SQLite3DBGroup.RegistGroup should have comment or be unexported (golint)
    • Line 60: warning: exported method SQLite3DBGroup.Regist should have comment or be unexported (golint)
    • Line 74: warning: exported method SQLite3DBGroup.DB should have comment or be unexported (golint)
    • Line 88: warning: exported type SQLite3DB should have comment or be unexported (golint)
    • Line 94: warning: exported function NewSQLite3DB should have comment or be unexported (golint)
    • Line 135: warning: exported method SQLite3DB.AR should have comment or be unexported (golint)
    • Line 142: warning: exported method SQLite3DB.IsEncrypted should have comment or be unexported (golint)
    • Line 149: warning: exported method SQLite3DB.Stats should have comment or be unexported (golint)
    • Line 152: warning: exported method SQLite3DB.Begin should have comment or be unexported (golint)
    • Line 155: warning: exported method SQLite3DB.ExecTx should have comment or be unexported (golint)
    • Line 159: warning: exported method SQLite3DB.ExecSQLTx should have comment or be unexported (golint)
    • Line 192: warning: exported method SQLite3DB.Exec should have comment or be unexported (golint)
    • Line 196: warning: exported method SQLite3DB.ExecSQL should have comment or be unexported (golint)
    • Line 226: warning: exported method SQLite3DB.QuerySQL should have comment or be unexported (golint)
    • Line 280: warning: exported method SQLite3DB.Query should have comment or be unexported (golint)
    • Line 364: warning: exported const OpenModeReadOnly should have comment (or a comment on this block) or be unexported (golint)
    • Line 376: warning: exported type SQLite3DBConfig should have comment or be unexported (golint)
    • Line 387: warning: exported function NewSQLite3DBConfigWith should have comment or be unexported (golint)
    • Line 396: warning: exported function NewSQLite3DBConfig should have comment or be unexported (golint)
    • Line 408: warning: exported type SQLite3ActiveRecord should have comment or be unexported (golint)
    • Line 431: warning: exported method SQLite3ActiveRecord.Cache should have comment or be unexported (golint)
    • Line 439: warning: exported method SQLite3ActiveRecord.Reset should have comment or be unexported (golint)
    • Line 460: warning: exported method SQLite3ActiveRecord.Select should have comment or be unexported (golint)
    • Line 463: warning: exported method SQLite3ActiveRecord.SelectNoWrap should have comment or be unexported (golint)
    • Line 473: warning: exported method SQLite3ActiveRecord.From should have comment or be unexported (golint)
    • Line 477: warning: exported method SQLite3ActiveRecord.FromAs should have comment or be unexported (golint)
    • Line 485: warning: exported method SQLite3ActiveRecord.Join should have comment or be unexported (golint)
    • Line 489: warning: exported method SQLite3ActiveRecord.Where should have comment or be unexported (golint)
    • Line 495: warning: exported method SQLite3ActiveRecord.WhereWrap should have comment or be unexported (golint)
    • Line 501: warning: exported method SQLite3ActiveRecord.GroupBy should have comment or be unexported (golint)
    • Line 507: warning: exported method SQLite3ActiveRecord.Having should have comment or be unexported (golint)
    • Line 511: warning: exported method SQLite3ActiveRecord.HavingWrap should have comment or be unexported (golint)
    • Line 516: warning: exported method SQLite3ActiveRecord.OrderBy should have comment or be unexported (golint)
    • Line 534: warning: exported method SQLite3ActiveRecord.Insert should have comment or be unexported (golint)
    • Line 540: warning: exported method SQLite3ActiveRecord.Replace should have comment or be unexported (golint)
    • Line 547: warning: exported method SQLite3ActiveRecord.InsertBatch should have comment or be unexported (golint)
    • Line 553: warning: exported method SQLite3ActiveRecord.ReplaceBatch should have comment or be unexported (golint)
    • Line 559: warning: exported method SQLite3ActiveRecord.Delete should have comment or be unexported (golint)
    • Line 565: warning: exported method SQLite3ActiveRecord.Update should have comment or be unexported (golint)
    • Line 585: warning: exported method SQLite3ActiveRecord.UpdateBatch should have comment or be unexported (golint)
    • Line 601: warning: exported method SQLite3ActiveRecord.Set should have comment or be unexported (golint)
    • Line 606: warning: exported method SQLite3ActiveRecord.SetNoWrap should have comment or be unexported (golint)
    • Line 611: warning: exported method SQLite3ActiveRecord.Wrap should have comment or be unexported (golint)
    • Line 618: warning: exported method SQLite3ActiveRecord.Raw should have comment or be unexported (golint)
    • Line 625: warning: exported method SQLite3ActiveRecord.Values should have comment or be unexported (golint)
    • Line 628: warning: exported method SQLite3ActiveRecord.SQL should have comment or be unexported (golint)
    • Line 1066: warning: exported function IsEncrypted should have comment or be unexported (golint)
    • gmc/http/session/redis.go
    • Line 15: warning: exported type RedisStoreConfig should have comment or be unexported (golint)
    • Line 21: warning: exported function NewRedisStoreConfig should have comment or be unexported (golint)
    • Line 29: warning: exported type RedisStore should have comment or be unexported (golint)
    • Line 35: warning: exported function NewRedisStore should have comment or be unexported (golint)
    • Line 45: warning: exported method RedisStore.Load should have comment or be unexported (golint)
    • Line 65: warning: exported method RedisStore.Save should have comment or be unexported (golint)
    • Line 74: warning: exported method RedisStore.Delete should have comment or be unexported (golint)
    • gmc/core/error.go
    • Line 12: warning: exported type StackFrame should have comment or be unexported (golint)
    • Line 31: warning: exported type Error should have comment or be unexported (golint)
    • gmc/core/log.go
    • Line 11: warning: exported const LogLevelTrace should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported const LogFlagNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type LogLevel should have comment or be unexported (golint)
    • Line 26: warning: exported type LogFlag should have comment or be unexported (golint)
    • Line 28: warning: exported type Logger should have comment or be unexported (golint)
    • gmc/http/cookie/cookie.go
    • Line 14: warning: exported function New should have comment or be unexported (golint)
    • Line 22: warning: exported type Cookies should have comment or be unexported (golint)
    • Line 27: warning: exported method Cookies.Get should have comment or be unexported (golint)
    • gmc/http/controller/controller.go
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: 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 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 190: warning: exported method Controller.SessionStart should have comment or be unexported (golint)
    • Line 190: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: exported method Controller.GetCtx should have comment or be unexported (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 222: warning: exported method Controller.SessionDestroy should have comment or be unexported (golint)
    • Line 222: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 235: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 239: warning: exported method Controller.WriteE should have comment or be unexported (golint)
    • Line 239: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/module/cache/helper.go
    • Line 25: warning: exported function SetLogger should have comment or be unexported (golint)
    • Line 81: warning: exported function Cache should have comment or be unexported (golint)
    • Line 103: warning: exported function AddCacheU should have comment or be unexported (golint)
    • Line 106: warning: exported function CacheU should have comment or be unexported (golint)
    • gmc/module/cache/memory.go
    • Line 19: warning: exported type MemoryCacheItem should have comment or be unexported (golint)
    • Line 41: warning: exported type MemoryCache should have comment or be unexported (golint)
    • gmc/module/i18n/i18n.go
    • Line 16: warning: exported type I18n should have comment or be unexported (golint)
    • Line 27: warning: exported method I18n.Clone should have comment or be unexported (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: exported method I18n.Add should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method I18n.Lang should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method I18n.Tr should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: exported method I18n.TrLangs should have comment or be unexported (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method I18n.TrV should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method I18n.ParseAcceptLanguageStr should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method I18n.ParseAcceptLanguageStrT should have comment or be unexported (golint)
    • Line 92: 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 I18n.ParseAcceptLanguage 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 106: warning: exported method I18n.ParseAcceptLanguageT should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: exported method I18n.Languages should have comment or be unexported (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: exported method I18n.LanguagesT should have comment or be unexported (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported method I18n.MatchT should have comment or be unexported (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: exported method I18n.MatchAcceptLanguageT should have comment or be unexported (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/module/log/log.go
    • Line 28: warning: exported function Panic should have comment or be unexported (golint)
    • Line 32: warning: exported function Panicf should have comment or be unexported (golint)
    • Line 36: warning: exported function Error should have comment or be unexported (golint)
    • Line 40: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 44: warning: exported function Warn should have comment or be unexported (golint)
    • Line 48: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 52: warning: exported function Info should have comment or be unexported (golint)
    • Line 56: warning: exported function Infof should have comment or be unexported (golint)
    • Line 60: warning: exported function Debug should have comment or be unexported (golint)
    • Line 64: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 68: warning: exported function Trace should have comment or be unexported (golint)
    • Line 72: warning: exported function Tracef should have comment or be unexported (golint)
    • Line 76: warning: exported function SetLevel should have comment or be unexported (golint)
    • Line 80: warning: exported function With should have comment or be unexported (golint)
    • Line 84: warning: exported function Namespace should have comment or be unexported (golint)
    • Line 88: warning: exported function Writer should have comment or be unexported (golint)
    • Line 92: warning: exported function SetOutput should have comment or be unexported (golint)
    • Line 96: warning: exported function Async should have comment or be unexported (golint)
    • Line 100: warning: exported function WaitAsyncDone should have comment or be unexported (golint)
    • Line 104: warning: exported function EnableAsync should have comment or be unexported (golint)
    • Line 108: warning: exported function SetFlag should have comment or be unexported (golint)
    • Line 112: warning: exported function Write should have comment or be unexported (golint)
    • Line 116: warning: exported function Level should have comment or be unexported (golint)
    • Line 120: warning: exported function SetExitCode should have comment or be unexported (golint)
    • Line 124: warning: exported function ExitCode should have comment or be unexported (golint)
    • Line 128: warning: exported function ExitFunc should have comment or be unexported (golint)
    • Line 132: warning: exported function SetExitFunc should have comment or be unexported (golint)
    • Line 140: warning: exported type Logger should have comment or be unexported (golint)
    • Line 163: warning: exported method Logger.ExitFunc should have comment or be unexported (golint)
    • Line 167: warning: exported method Logger.SetExitFunc should have comment or be unexported (golint)
    • Line 171: warning: exported method Logger.ExitCode should have comment or be unexported (golint)
    • Line 175: warning: exported method Logger.SetExitCode should have comment or be unexported (golint)
    • Line 179: warning: exported method Logger.CallerSkip should have comment or be unexported (golint)
    • Line 183: warning: exported method Logger.SetCallerSkip should have comment or be unexported (golint)
    • Line 187: warning: exported function New should have comment or be unexported (golint)
    • Line 205: warning: exported method Logger.WaitAsyncDone should have comment or be unexported (golint)
    • Line 211: warning: exported method Logger.Async should have comment or be unexported (golint)
    • Line 232: warning: exported method Logger.EnableAsync should have comment or be unexported (golint)
    • Line 239: warning: exported method Logger.Level should have comment or be unexported (golint)
    • Line 243: warning: exported method Logger.SetLevel should have comment or be unexported (golint)
    • Line 247: warning: exported method Logger.With should have comment or be unexported (golint)
    • Line 256: warning: exported method Logger.Namespace should have comment or be unexported (golint)
    • Line 271: warning: exported method Logger.Panicf should have comment or be unexported (golint)
    • Line 281: warning: exported method Logger.Panic should have comment or be unexported (golint)
    • Line 292: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 311: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 318: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 326: warning: exported method Logger.Infof should have comment or be unexported (golint)
    • Line 334: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 342: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 349: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 357: warning: exported method Logger.Tracef should have comment or be unexported (golint)
    • Line 364: warning: exported method Logger.Trace should have comment or be unexported (golint)
    • Line 372: warning: exported method Logger.Writer should have comment or be unexported (golint)
    • Line 376: warning: exported method Logger.SetOutput should have comment or be unexported (golint)
    • Line 380: warning: exported method Logger.SetFlag should have comment or be unexported (golint)
    • gmc/util/captcha/captcha.go
    • Line 21: warning: exported type Captcha should have comment or be unexported (golint)
    • Line 30: warning: exported type StrType should have comment or be unexported (golint)
    • Line 33: warning: exported const NUM should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported type DisturLevel should have comment or be unexported (golint)
    • Line 43: warning: exported const NORMAL should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported function New should have comment or be unexported (golint)
    • Line 58: warning: exported function NewDefault should have comment or be unexported (golint)
    • Line 68: warning: exported method Captcha.LoadDefaultFonts should have comment or be unexported (golint)
    • Line 119: warning: exported method Captcha.SetDisturbance should have comment or be unexported (golint)
    • Line 125: warning: exported method Captcha.SetFrontColor should have comment or be unexported (golint)
    • Line 134: warning: exported method Captcha.SetBkgColor should have comment or be unexported (golint)
    • Line 143: warning: exported method Captcha.SetSize should have comment or be unexported (golint)
    • Line 260: warning: exported method Captcha.CreateCustom should have comment or be unexported (golint)
    • gmc/internal/util/http/httputil.go
    • Line 21: warning: exported function Die should have comment or be unexported (golint)
    • Line 26: warning: exported function Stop should have comment or be unexported (golint)
    • Line 31: warning: exported function JustStop should have comment or be unexported (golint)
    • Line 35: warning: exported function JustDie should have comment or be unexported (golint)
    • Line 63: warning: exported function Write should have comment or be unexported (golint)
    • Line 67: warning: exported function WritePretty should have comment or be unexported (golint)
    • gmc/core/ctx.go
    • Line 101: warning: exported function SetCtx should have comment or be unexported (golint)
    • Line 108: warning: exported function GetCtx should have comment or be unexported (golint)
    • gmc/core/service.go
    • Line 12: warning: exported type Service should have comment or be unexported (golint)
    • Line 26: warning: exported type ServiceItem should have comment or be unexported (golint)
    • gmc/demos/new_web/controller/demo.go
    • Line 12: warning: exported type Demo should have comment or be unexported (golint)
    • Line 16: warning: exported method Demo.Index__ should have comment or be unexported (golint)
    • Line 16: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 16: warning: don't use underscores in Go names; method Index__ should be Index (golint)
    • Line 22: warning: exported method Demo.Hello should have comment or be unexported (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 26: warning: exported method Demo.Conn should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • gmc/util/paginator/paginator.go
    • Line 16: warning: exported type Paginator should have comment or be unexported (golint)
    • Line 27: warning: exported method Paginator.MaxPages should have comment or be unexported (golint)
    • Line 31: warning: exported method Paginator.SetMaxPages should have comment or be unexported (golint)
    • Line 35: warning: exported method Paginator.PerPageNums should have comment or be unexported (golint)
    • Line 39: warning: exported method Paginator.SetPerPageNums should have comment or be unexported (golint)
    • Line 43: warning: exported method Paginator.Request should have comment or be unexported (golint)
    • Line 47: warning: exported method Paginator.SetRequest should have comment or be unexported (golint)
    • Line 51: warning: exported method Paginator.PageNums should have comment or be unexported (golint)
    • Line 63: warning: exported method Paginator.Nums should have comment or be unexported (golint)
    • Line 67: warning: exported method Paginator.SetNums should have comment or be unexported (golint)
    • Line 71: warning: exported method Paginator.Page should have comment or be unexported (golint)
    • Line 88: warning: exported method Paginator.Pages should have comment or be unexported (golint)
    • Line 117: warning: exported method Paginator.PageLink should have comment or be unexported (golint)
    • Line 128: warning: exported method Paginator.PageBaseLink should have comment or be unexported (golint)
    • Line 136: warning: exported method Paginator.PageLinkPrev should have comment or be unexported (golint)
    • Line 143: warning: exported method Paginator.PageLinkNext should have comment or be unexported (golint)
    • Line 150: warning: exported method Paginator.PageLinkFirst should have comment or be unexported (golint)
    • Line 154: warning: exported method Paginator.PageLinkLast should have comment or be unexported (golint)
    • Line 158: warning: exported method Paginator.HasPrev should have comment or be unexported (golint)
    • Line 162: warning: exported method Paginator.HasNext should have comment or be unexported (golint)
    • Line 166: warning: exported method Paginator.IsActive should have comment or be unexported (golint)
    • Line 170: warning: exported method Paginator.Offset should have comment or be unexported (golint)
    • Line 174: warning: exported method Paginator.HasPages should have comment or be unexported (golint)
    • Line 178: warning: exported function NewPaginator should have comment or be unexported (golint)
    • gmc/module/db/mysql.go
    • Line 24: warning: exported type MySQLDBGroup should have comment or be unexported (golint)
    • Line 31: warning: exported function NewMySQLDBGroupCache should have comment or be unexported (golint)
    • Line 39: warning: exported function NewMySQLDBGroup should have comment or be unexported (golint)
    • Line 46: warning: exported method MySQLDBGroup.RegistGroup should have comment or be unexported (golint)
    • Line 59: warning: exported method MySQLDBGroup.Regist should have comment or be unexported (golint)
    • Line 73: warning: exported method MySQLDBGroup.DB should have comment or be unexported (golint)
    • Line 87: warning: exported type MySQLDB should have comment or be unexported (golint)
    • Line 93: warning: exported function NewMySQLDB should have comment or be unexported (golint)
    • Line 128: warning: exported method MySQLDB.AR should have comment or be unexported (golint)
    • Line 135: warning: exported method MySQLDB.Stats should have comment or be unexported (golint)
    • Line 138: warning: exported method MySQLDB.Begin should have comment or be unexported (golint)
    • Line 141: warning: exported method MySQLDB.ExecTx should have comment or be unexported (golint)
    • Line 145: warning: exported method MySQLDB.ExecSQLTx should have comment or be unexported (golint)
    • Line 168: warning: exported method MySQLDB.Exec should have comment or be unexported (golint)
    • Line 171: warning: exported method MySQLDB.ExecSQL should have comment or be unexported (golint)
    • Line 197: warning: exported method MySQLDB.QuerySQL should have comment or be unexported (golint)
    • Line 251: warning: exported method MySQLDB.Query should have comment or be unexported (golint)
    • Line 333: warning: exported type MySQLDBConfig should have comment or be unexported (golint)
    • Line 351: warning: exported function NewMySQLDBConfigWith should have comment or be unexported (golint)
    • Line 360: warning: exported function NewMySQLDBConfig should have comment or be unexported (golint)
    • Line 379: warning: exported type MySQLActiveRecord should have comment or be unexported (golint)
    • Line 402: warning: exported method MySQLActiveRecord.Cache should have comment or be unexported (golint)
    • Line 410: warning: exported method MySQLActiveRecord.Reset should have comment or be unexported (golint)
    • Line 431: warning: exported method MySQLActiveRecord.Select should have comment or be unexported (golint)
    • Line 434: warning: exported method MySQLActiveRecord.SelectNoWrap should have comment or be unexported (golint)
    • Line 444: warning: exported method MySQLActiveRecord.From should have comment or be unexported (golint)
    • Line 448: warning: exported method MySQLActiveRecord.FromAs should have comment or be unexported (golint)
    • Line 456: warning: exported method MySQLActiveRecord.Join should have comment or be unexported (golint)
    • Line 460: warning: exported method MySQLActiveRecord.Where should have comment or be unexported (golint)
    • Line 466: warning: exported method MySQLActiveRecord.WhereWrap should have comment or be unexported (golint)
    • Line 472: warning: exported method MySQLActiveRecord.GroupBy should have comment or be unexported (golint)
    • Line 478: warning: exported method MySQLActiveRecord.Having should have comment or be unexported (golint)
    • Line 482: warning: exported method MySQLActiveRecord.HavingWrap should have comment or be unexported (golint)
    • Line 487: warning: exported method MySQLActiveRecord.OrderBy should have comment or be unexported (golint)
    • Line 505: warning: exported method MySQLActiveRecord.Insert should have comment or be unexported (golint)
    • Line 511: warning: exported method MySQLActiveRecord.Replace should have comment or be unexported (golint)
    • Line 518: warning: exported method MySQLActiveRecord.InsertBatch should have comment or be unexported (golint)
    • Line 524: warning: exported method MySQLActiveRecord.ReplaceBatch should have comment or be unexported (golint)
    • Line 530: warning: exported method MySQLActiveRecord.Delete should have comment or be unexported (golint)
    • Line 536: warning: exported method MySQLActiveRecord.Update should have comment or be unexported (golint)
    • Line 557: warning: exported method MySQLActiveRecord.UpdateBatch should have comment or be unexported (golint)
    • Line 573: warning: exported method MySQLActiveRecord.Set should have comment or be unexported (golint)
    • Line 578: warning: exported method MySQLActiveRecord.SetNoWrap should have comment or be unexported (golint)
    • Line 583: warning: exported method MySQLActiveRecord.Wrap should have comment or be unexported (golint)
    • Line 590: warning: exported method MySQLActiveRecord.Raw should have comment or be unexported (golint)
    • Line 597: warning: exported method MySQLActiveRecord.Values should have comment or be unexported (golint)
    • Line 600: warning: exported method MySQLActiveRecord.SQL should have comment or be unexported (golint)
    • gmc/util/proxy/jumper.go
    • Line 15: warning: exported type Jumper should have comment or be unexported (golint)
    • Line 30: warning: exported function NewJumper should have comment or be unexported (golint)
    • Line 49: warning: exported method Jumper.Dial should have comment or be unexported (golint)
    • Line 52: warning: exported method Jumper.DialTimeout should have comment or be unexported (golint)
    • gmc/core/db.go
    • Line 62: warning: exported type DatabaseGroup should have comment or be unexported (golint)
    • Line 68: warning: exported type ResultSet should have comment or be unexported (golint)
    • gmc/module/i18n/helper.go
    • Line 19: warning: exported var I18N should have comment or be unexported (golint)
    • Line 22: warning: exported function SetBinData should have comment or be unexported (golint)
    • Line 33: warning: exported function Init should have comment or be unexported (golint)
    • gmc/module/ctx/ctx.go
    • Line 29: warning: exported type Ctx should have comment or be unexported (golint)
    • Line 48: warning: exported method Ctx.IsTLSRequest should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method Ctx.ControllerMethod should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method Ctx.SetControllerMethod should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method Ctx.Conn should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method Ctx.SetConn should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method Ctx.RemoteAddr should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method Ctx.SetRemoteAddr should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method Ctx.Template should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method Ctx.SetTemplate should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method Ctx.I18n should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method Ctx.SetI18n should have comment or be unexported (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 92: warning: exported method Ctx.Config should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: exported method Ctx.SetConfig should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method Ctx.Logger should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: exported method Ctx.SetLogger should have comment or be unexported (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported method Ctx.App should have comment or be unexported (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported method Ctx.SetApp should have comment or be unexported (golint)
    • Line 134: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: exported method Ctx.Clone should have comment or be unexported (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: exported method Ctx.CloneWithHTTP should have comment or be unexported (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: exported method Ctx.APIServer should have comment or be unexported (golint)
    • Line 181: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: exported method Ctx.SetAPIServer should have comment or be unexported (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 189: warning: exported method Ctx.WebServer should have comment or be unexported (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 193: warning: exported method Ctx.SetWebServer should have comment or be unexported (golint)
    • Line 193: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 197: warning: exported method Ctx.LocalAddr should have comment or be unexported (golint)
    • Line 197: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 201: warning: exported method Ctx.SetLocalAddr should have comment or be unexported (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 205: warning: exported method Ctx.Param should have comment or be unexported (golint)
    • Line 205: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: exported method Ctx.Request should have comment or be unexported (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 223: warning: exported method Ctx.SetRequest should have comment or be unexported (golint)
    • Line 223: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 227: warning: exported method Ctx.Response should have comment or be unexported (golint)
    • Line 227: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 231: warning: exported method Ctx.SetResponse should have comment or be unexported (golint)
    • Line 231: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 235: warning: exported method Ctx.SetParam should have comment or be unexported (golint)
    • Line 235: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 244: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 249: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 259: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 265: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 270: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 275: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 280: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 290: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 295: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 300: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 305: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 310: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 315: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 326: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 335: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 342: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 353: warning: exported type CloudFlareIPS should have comment or be unexported (golint)
    • Line 365: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 484: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 489: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 498: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 508: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 519: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 529: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 539: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 551: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 560: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 566: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 577: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 586: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 602: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 611: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 620: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 625: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 632: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 651: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 661: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 666: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 678: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 688: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 694: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 700: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 705: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 712: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 731: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 740: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 757: warning: exported function NewCtx should have comment or be unexported (golint)
    • Line 764: warning: exported function NewCtxFromConfig should have comment or be unexported (golint)
    • Line 772: warning: exported function NewCtxFromConfigFile should have comment or be unexported (golint)
    • gmc/module/cache/memory_helper.go
    • Line 16: warning: exported type MemCache should have comment or be unexported (golint)
    • Line 21: warning: exported type MemCacheConfig should have comment or be unexported (golint)
    • Line 26: warning: exported function NewMemCacheConfig should have comment or be unexported (golint)
    • Line 32: warning: exported function NewMemCache should have comment or be unexported (golint)
    • Line 42: warning: exported method MemCache.Has should have comment or be unexported (golint)
    • Line 46: warning: exported method MemCache.Clear should have comment or be unexported (golint)
    • Line 54: warning: exported method MemCache.Get should have comment or be unexported (golint)
    • Line 61: warning: exported method MemCache.Set should have comment or be unexported (golint)
    • Line 65: warning: exported method MemCache.Del should have comment or be unexported (golint)
    • Line 69: warning: exported method MemCache.Incr should have comment or be unexported (golint)
    • Line 77: warning: exported method MemCache.Decr should have comment or be unexported (golint)
    • Line 85: warning: exported method MemCache.IncrN should have comment or be unexported (golint)
    • Line 93: warning: exported method MemCache.DecrN should have comment or be unexported (golint)
    • Line 101: warning: exported method MemCache.GetMulti should have comment or be unexported (golint)
    • Line 112: warning: exported method MemCache.SetMulti should have comment or be unexported (golint)
    • Line 118: warning: exported method MemCache.DelMulti should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!