Preparing report...

Report for github.com/hunterhug/taotie

A    Great!    Found 57 issues across 65 files

Tweet

gofmt89%

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


go_vet100%

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

No problems detected. Good job!


gocyclo86%

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.

    • taotie/core/spider/core.go
    • Line 235: warning: cyclomatic complexity 19 of function DownloadAsin() is high (> 15) (gocyclo)
    • Line 103: warning: cyclomatic complexity 19 of function DownloadCategory() is high (> 15) (gocyclo)
    • taotie/core/controllers/aws.go
    • Line 854: warning: cyclomatic complexity 35 of function AwsListAsinDetail() is high (> 15) (gocyclo)
    • Line 221: warning: cyclomatic complexity 23 of function AwsListCategoryTask() is high (> 15) (gocyclo)
    • Line 518: warning: cyclomatic complexity 20 of function AwsListAsinTask() is high (> 15) (gocyclo)
    • Line 651: warning: cyclomatic complexity 18 of function AwsListAsinLib() is high (> 15) (gocyclo)

golint15%

Golint is a linter for Go source code.

    • taotie/core/util/oss/oss.go
    • Line 8: warning: exported type Key should have comment or be unexported (golint)
    • Line 15: warning: exported function SaveFile should have comment or be unexported (golint)
    • taotie/core/util/io.go
    • Line 8: warning: exported function Input should have comment or be unexported (golint)
    • Line 15: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • taotie/core/util/time.go
    • Line 7: warning: exported function Sleep should have comment or be unexported (golint)
    • Line 14: warning: exported function Second should have comment or be unexported (golint)
    • Line 18: warning: comment on exported function GetTimestamp should be of the form "GetTimestamp ..." (golint)
    • Line 23: warning: exported function GetSecondTimes should have comment or be unexported (golint)
    • Line 27: warning: exported function TodayStringByZone should have comment or be unexported (golint)
    • taotie/core/controllers/aws.go
    • Line 15: warning: exported type AwsAddCategoryTaskRequest should have comment or be unexported (golint)
    • Line 27: warning: exported function AwsAddCategoryTask should have comment or be unexported (golint)
    • Line 123: warning: exported type AwsUpdateCategoryTaskRequest should have comment or be unexported (golint)
    • Line 135: warning: exported function AwsUpdateCategoryTask should have comment or be unexported (golint)
    • Line 197: warning: exported type AwsListCategoryTaskRequest should have comment or be unexported (golint)
    • Line 216: warning: exported type AwsListCategoryTaskResponse should have comment or be unexported (golint)
    • Line 221: warning: exported function AwsListCategoryTask should have comment or be unexported (golint)
    • Line 347: warning: exported type AwsAddAsinTaskRequest should have comment or be unexported (golint)
    • Line 356: warning: exported function AwsAddAsinTask should have comment or be unexported (golint)
    • Line 426: warning: exported type AwsUpdateAsinTaskRequest should have comment or be unexported (golint)
    • Line 436: warning: exported function AwsUpdateAsinTask should have comment or be unexported (golint)
    • Line 497: warning: exported type AwsListAsinTaskRequest should have comment or be unexported (golint)
    • Line 513: warning: exported type AwsListAsinTaskResponse should have comment or be unexported (golint)
    • Line 518: warning: exported function AwsListAsinTask should have comment or be unexported (golint)
    • Line 632: warning: exported type AwsListAsinLibRequest should have comment or be unexported (golint)
    • Line 646: warning: exported type AwsListAsinLibResponse should have comment or be unexported (golint)
    • Line 651: warning: exported function AwsListAsinLib should have comment or be unexported (golint)
    • Line 757: warning: exported type AwsUpdateAsinLibRequest should have comment or be unexported (golint)
    • Line 763: warning: exported function AwsUpdateAsinLib should have comment or be unexported (golint)
    • Line 818: warning: exported type AwsListAsinDetailRequest should have comment or be unexported (golint)
    • Line 849: warning: exported type AwsListAsinDetailResponse should have comment or be unexported (golint)
    • Line 854: warning: exported function AwsListAsinDetail should have comment or be unexported (golint)
    • Line 1025: warning: exported type AwsUpdateAsinDetailRequest should have comment or be unexported (golint)
    • Line 1032: warning: exported function AwsUpdateAsinDetail should have comment or be unexported (golint)
    • Line 1088: warning: exported type AwsListStatisticsRequest should have comment or be unexported (golint)
    • Line 1100: warning: exported type AwsListStatisticsResponse should have comment or be unexported (golint)
    • Line 1105: warning: exported function AwsListStatistics should have comment or be unexported (golint)
    • Line 1196: warning: exported type AwsRunCategoryTaskRequest should have comment or be unexported (golint)
    • Line 1200: warning: exported function AwsRunCategoryTask should have comment or be unexported (golint)
    • Line 1242: warning: exported type AwsRunAsinTaskRequest should have comment or be unexported (golint)
    • Line 1247: warning: exported function AwsRunAsinTask should have comment or be unexported (golint)
    • Line 1295: warning: exported type AwsSearchAsinRequest should have comment or be unexported (golint)
    • Line 1299: warning: exported function AwsSearchAsin should have comment or be unexported (golint)
    • Line 1303: warning: exported function AwsMonitor should have comment or be unexported (golint)
    • taotie/core/controllers/base.go
    • Line 64: warning: comment on exported var ErrorMap should be of the form "ErrorMap ..." (golint)
    • Line 116: warning: comment on exported type Resp should be of the form "Resp ..." (with optional leading article) (golint)
    • Line 124: warning: comment on exported type ErrorResp should be of the form "ErrorResp ..." (with optional leading article) (golint)
    • Line 134: warning: exported function Error should have comment or be unexported (golint)
    • Line 152: warning: comment on exported type PageHelp should be of the form "PageHelp ..." (with optional leading article) (golint)
    • Line 178: warning: exported function Build should have comment or be unexported (golint)
    • taotie/core/util/redis/redis.go
    • Line 10: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 17: warning: exported type MyRedis should have comment or be unexported (golint)
    • Line 22: warning: exported function NewRedisPool should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method MyRedis.Set should be of the form "Set ..." (golint)
    • Line 46: warning: comment on exported method MyRedis.Get should be of the form "Get ..." (golint)
    • Line 58: warning: exported method MyRedis.Del should have comment or be unexported (golint)
    • Line 62: warning: exported method MyRedis.LPush should have comment or be unexported (golint)
    • Line 66: warning: exported method MyRedis.LPushX should have comment or be unexported (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 78: warning: exported method MyRedis.RPush should have comment or be unexported (golint)
    • Line 82: warning: exported method MyRedis.RPushX should have comment or be unexported (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: exported method MyRedis.LLen should have comment or be unexported (golint)
    • Line 98: warning: exported method MyRedis.HLen should have comment or be unexported (golint)
    • Line 102: warning: exported method MyRedis.RPop should have comment or be unexported (golint)
    • Line 106: warning: exported method MyRedis.LPop should have comment or be unexported (golint)
    • Line 110: warning: exported method MyRedis.BRPop should have comment or be unexported (golint)
    • Line 115: warning: comment on exported method MyRedis.BLPop should be of the form "BLPop ..." (golint)
    • Line 122: warning: exported method MyRedis.BRPopLPush should have comment or be unexported (golint)
    • Line 127: warning: exported method MyRedis.RPopLPush should have comment or be unexported (golint)
    • Line 131: warning: exported method MyRedis.HExists should have comment or be unexported (golint)
    • Line 135: warning: exported method MyRedis.HGet should have comment or be unexported (golint)
    • Line 139: warning: exported method MyRedis.HSet should have comment or be unexported (golint)
    • Line 143: warning: comment on exported method MyRedis.LRem should be of the form "LRem ..." (golint)
    • taotie/core/spider/category.go
    • Line 13: warning: exported var AwsCategoryTimerHasRun should have comment or be unexported (golint)
    • Line 15: warning: exported function AwsCategoryTimerStart should have comment or be unexported (golint)
    • Line 18: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 26: warning: exported function AwsCategorySentToPool should have comment or be unexported (golint)
    • Line 137: warning: exported function AwsOneCategorySentToPoolRightNow should have comment or be unexported (golint)
    • taotie/core/controllers/user.go
    • Line 18: warning: exported type RegisterUserRequest should have comment or be unexported (golint)
    • Line 29: warning: comment on exported function RegisterUser should be of the form "RegisterUser ..." (golint)
    • Line 129: warning: comment on exported function CreateUser should be of the form "CreateUser ..." (golint)
    • Line 223: warning: exported type ActivateUserRequest should have comment or be unexported (golint)
    • Line 228: warning: comment on exported function ActivateUser should be of the form "ActivateUser ..." (golint)
    • Line 279: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 303: warning: exported type ResendActivateCodeToUserRequest should have comment or be unexported (golint)
    • Line 307: warning: comment on exported function ResendActivateCodeToUser should be of the form "ResendActivateCodeToUser ..." (golint)
    • Line 376: warning: exported type ForgetPasswordRequest should have comment or be unexported (golint)
    • Line 380: warning: comment on exported function ForgetPasswordOfUser should be of the form "ForgetPasswordOfUser ..." (golint)
    • Line 447: warning: exported type ChangePasswordRequest should have comment or be unexported (golint)
    • Line 454: warning: comment on exported function ChangePasswordOfUser should be of the form "ChangePasswordOfUser ..." (golint)
    • Line 509: warning: exported type UpdateUserRequest should have comment or be unexported (golint)
    • Line 516: warning: exported function UpdateUser should have comment or be unexported (golint)
    • Line 604: warning: exported type People should have comment or be unexported (golint)
    • Line 621: warning: comment on exported function TakeUser should be of the form "TakeUser ..." (golint)
    • Line 676: warning: exported type ListUserRequest should have comment or be unexported (golint)
    • Line 691: warning: exported type ListUserResponse should have comment or be unexported (golint)
    • Line 696: warning: comment on exported function ListUser should be of the form "ListUser ..." (golint)
    • Line 804: warning: exported type ListGroupUserRequest should have comment or be unexported (golint)
    • Line 808: warning: exported type ListGroupUserResponse should have comment or be unexported (golint)
    • Line 812: warning: comment on exported function ListGroupUser should be of the form "ListGroupUser ..." (golint)
    • Line 854: warning: exported type AssignGroupRequest should have comment or be unexported (golint)
    • Line 860: warning: comment on exported function AssignGroupToUser should be of the form "AssignGroupToUser ..." (golint)
    • Line 939: warning: exported type UpdateUserAdminRequest should have comment or be unexported (golint)
    • Line 947: warning: comment on exported function UpdateUserAdmin should be of the form "UpdateUserAdmin ..." (golint)
    • taotie/core/util/util.go
    • Line 10: warning: comment on exported function SI should be of the form "SI ..." (golint)
    • Line 16: warning: exported function SInt64 should have comment or be unexported (golint)
    • Line 26: warning: exported function SFloat64 should have comment or be unexported (golint)
    • Line 35: warning: comment on exported function IS should be of the form "IS ..." (golint)
    • Line 40: warning: exported function ToLower should have comment or be unexported (golint)
    • Line 44: warning: comment on exported function DivideStringList should be of the form "DivideStringList ..." (golint)
    • Line 68: warning: exported function InArray should have comment or be unexported (golint)
    • Line 77: warning: exported function Substr should have comment or be unexported (golint)
    • Line 106: warning: exported function MapToArray should have comment or be unexported (golint)
    • Line 115: warning: exported function JoinSpilt should have comment or be unexported (golint)
    • Line 123: warning: exported function SpiltJoin should have comment or be unexported (golint)
    • taotie/core/util/guid.go
    • Line 12: warning: comment on exported function GetGUID should be of the form "GetGUID ..." (golint)
    • Line 21: warning: comment on exported function Sha256 should be of the form "Sha256 ..." (golint)
    • Line 35: warning: exported function Md5 should have comment or be unexported (golint)
    • taotie/core/spider/asin.go
    • Line 12: warning: exported var AwsAsinTimerHasRun should have comment or be unexported (golint)
    • Line 14: warning: exported function AwsAsinTimerStart should have comment or be unexported (golint)
    • Line 17: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 25: warning: exported function AwsAsinSentToPool should have comment or be unexported (golint)
    • Line 136: warning: exported function AwsOneAsinSentToPoolRightNow should have comment or be unexported (golint)
    • taotie/core/spider/aws.go
    • Line 10: warning: exported var Pool should have comment or be unexported (golint)
    • Line 13: warning: exported function InitRedisPool should have comment or be unexported (golint)
    • Line 45: warning: exported function PutHashPool should have comment or be unexported (golint)
    • Line 49: warning: exported function DeleteHashPool should have comment or be unexported (golint)
    • Line 53: warning: exported function RPushListPool should have comment or be unexported (golint)
    • Line 58: warning: exported function LPushListPool should have comment or be unexported (golint)
    • Line 63: warning: exported function BLPopListPool should have comment or be unexported (golint)
    • Line 67: warning: exported function LRemListPool should have comment or be unexported (golint)
    • Line 72: warning: exported function GetHashPool should have comment or be unexported (golint)
    • taotie/core/spider/download.go
    • Line 11: warning: exported var Spiders should have comment or be unexported (golint)
    • Line 44: warning: exported function Download should have comment or be unexported (golint)
    • Line 51: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • taotie/core/util/log/logger.go
    • Line 1: warning: package comment should be of the form "Package log ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 11: warning: comment on exported type Logger should be of the form "Logger ..." (with optional leading article) (golint)
    • Line 17: warning: exported method Logger.SetCallpath should have comment or be unexported (golint)
    • Line 21: warning: exported method Logger.IsAll should have comment or be unexported (golint)
    • Line 22: warning: exported method Logger.IsInfo should have comment or be unexported (golint)
    • Line 23: warning: exported method Logger.IsDebug should have comment or be unexported (golint)
    • Line 24: warning: exported method Logger.IsNotice should have comment or be unexported (golint)
    • Line 25: warning: exported method Logger.IsWarn should have comment or be unexported (golint)
    • Line 26: warning: exported method Logger.IsError should have comment or be unexported (golint)
    • Line 28: warning: exported method Logger.IsLogLevel should have comment or be unexported (golint)
    • Line 59: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 63: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 67: warning: exported method Logger.Log should have comment or be unexported (golint)
    • Line 71: warning: exported method Logger.Logf should have comment or be unexported (golint)
    • Line 75: warning: exported method Logger.Notice should have comment or be unexported (golint)
    • Line 79: warning: exported method Logger.Noticef should have comment or be unexported (golint)
    • Line 83: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 87: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 95: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 99: warning: exported method Logger.Panic should have comment or be unexported (golint)
    • Line 104: warning: exported method Logger.Panicf should have comment or be unexported (golint)
    • Line 109: warning: comment on exported type LoggerManager should be of the form "LoggerManager ..." (with optional leading article) (golint)
    • Line 116: warning: exported function NewLoggerManager should have comment or be unexported (golint)
    • Line 123: warning: exported function NewLoggerManagerWithConf should have comment or be unexported (golint)
    • Line 136: warning: exported function NewLoggerManagerWithJsconf should have comment or be unexported (golint)
    • Line 144: warning: exported method LoggerManager.UpdateConf 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)
    • Line 158: warning: exported method LoggerManager.Logger should have comment or be unexported (golint)
    • Line 158: 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 LoggerManager.SetLogger 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 170: warning: exported method LoggerManager.SetRootAppender should have comment or be unexported (golint)
    • Line 170: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: exported method LoggerManager.UseRoot should have comment or be unexported (golint)
    • Line 175: 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 LoggerManager.SetRootLevel 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 194: warning: exported method LoggerManager.SetRootOnlyLevel 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)
    • taotie/core/util/log/logger_conf.go
    • Line 9: warning: comment on exported type LoggerConf should be of the form "LoggerConf ..." (with optional leading article) (golint)
    • Line 16: warning: exported method LoggerConf.SetAppender 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 20: warning: exported method LoggerConf.SetLevel should have comment or be unexported (golint)
    • Line 20: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method LoggerConf.SetOnlyLevels should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 62: warning: comment on exported type Tree should be of the form "Tree ..." (with optional leading article) (golint)
    • Line 80: warning: exported function NewTree 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 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: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 160: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 211: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 253: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 258: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • taotie/core/controllers/group.go
    • Line 12: warning: exported type CreateGroupRequest should have comment or be unexported (golint)
    • Line 18: warning: exported function CreateGroup should have comment or be unexported (golint)
    • Line 88: warning: exported type UpdateGroupRequest should have comment or be unexported (golint)
    • Line 95: warning: exported function UpdateGroup should have comment or be unexported (golint)
    • Line 187: warning: exported type DeleteGroupRequest should have comment or be unexported (golint)
    • Line 192: warning: exported function DeleteGroup should have comment or be unexported (golint)
    • Line 273: warning: exported type TakeGroupRequest should have comment or be unexported (golint)
    • Line 278: warning: exported function TakeGroup should have comment or be unexported (golint)
    • Line 318: warning: exported type ListGroupRequest should have comment or be unexported (golint)
    • Line 329: warning: exported type ListGroupResponse should have comment or be unexported (golint)
    • Line 334: warning: exported function ListGroup should have comment or be unexported (golint)
    • Line 425: warning: exported type ListGroupResourceRequest should have comment or be unexported (golint)
    • Line 429: warning: exported type ListGroupResourceResponse should have comment or be unexported (golint)
    • Line 433: warning: exported function ListGroupResource should have comment or be unexported (golint)
    • taotie/core/session/session.go
    • Line 21: warning: comment on exported type TokenManage should be of the form "TokenManage ..." (with optional leading article) (golint)
    • Line 33: warning: exported type RedisSession should have comment or be unexported (golint)
    • Line 37: warning: exported method RedisSession.Set should have comment or be unexported (golint)
    • Line 65: warning: exported method RedisSession.Delete should have comment or be unexported (golint)
    • Line 77: warning: exported method RedisSession.EXPIRE should have comment or be unexported (golint)
    • Line 92: warning: exported method RedisSession.Keys should have comment or be unexported (golint)
    • Line 114: warning: exported method RedisSession.Get should have comment or be unexported (golint)
    • Line 130: warning: exported function HashTokenKey should have comment or be unexported (golint)
    • Line 134: warning: exported function GenToken should have comment or be unexported (golint)
    • Line 138: warning: exported function HashUserKey should have comment or be unexported (golint)
    • Line 142: warning: exported function UserKeys should have comment or be unexported (golint)
    • Line 146: warning: exported function UserTokenKeys should have comment or be unexported (golint)
    • Line 149: warning: exported method RedisSession.CheckAndSetToken should have comment or be unexported (golint)
    • Line 189: warning: exported method RedisSession.RefreshToken should have comment or be unexported (golint)
    • Line 193: warning: exported method RedisSession.DeleteToken should have comment or be unexported (golint)
    • Line 197: warning: exported method RedisSession.DeleteUserToken should have comment or be unexported (golint)
    • Line 207: warning: exported method RedisSession.DeleteUser should have comment or be unexported (golint)
    • Line 217: warning: exported method RedisSession.AddUser should have comment or be unexported (golint)
    • Line 244: warning: exported method RedisSession.RefreshUser should have comment or be unexported (golint)
    • Line 251: warning: exported method RedisSession.SetToken should have comment or be unexported (golint)
    • Line 275: warning: exported var FafaSessionMgr should have comment or be unexported (golint)
    • Line 277: warning: exported function InitSession should have comment or be unexported (golint)
    • taotie/core/util/log/appender.go
    • Line 14: warning: exported var DefaultLowCallpath should have comment or be unexported (golint)
    • Line 18: warning: exported var UseShortFile should have comment or be unexported (golint)
    • Line 20: warning: comment on exported type Appender should be of the form "Appender ..." (with optional leading article) (golint)
    • Line 76: warning: exported type FileAppender should have comment or be unexported (golint)
    • Line 81: warning: exported function NewFileAppender should have comment or be unexported (golint)
    • Line 92: warning: exported method FileAppender.Log should have comment or be unexported (golint)
    • Line 97: warning: exported method FileAppender.Logln should have comment or be unexported (golint)
    • Line 102: warning: exported method FileAppender.Logf should have comment or be unexported (golint)
    • Line 127: warning: exported type DailyAppender should have comment or be unexported (golint)
    • Line 135: warning: exported function NewDailyAppenderEx should have comment or be unexported (golint)
    • Line 161: warning: exported function NewDailyAppender should have comment or be unexported (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: exported type ConsoleAppender should have comment or be unexported (golint)
    • Line 181: warning: exported function NewConsoleAppender should have comment or be unexported (golint)
    • Line 199: warning: comment on exported type LevelSeparationAppender should be of the form "LevelSeparationAppender ..." (with optional leading article) (golint)
    • Line 205: warning: exported function NewLevelSeparationAppender should have comment or be unexported (golint)
    • Line 212: warning: exported method LevelSeparationAppender.SetLevelAppender should have comment or be unexported (golint)
    • Line 212: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 215: warning: exported method LevelSeparationAppender.Log should have comment or be unexported (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 221: warning: exported method LevelSeparationAppender.Logln should have comment or be unexported (golint)
    • Line 221: 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 LevelSeparationAppender.Logf 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 233: warning: exported method LevelSeparationAppender.SetCallpath should have comment or be unexported (golint)
    • Line 233: 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 function NewLevelSeparationDailyAppender should have comment or be unexported (golint)
    • taotie/core/util/mail/mail.go
    • Line 9: warning: exported var Debug should have comment or be unexported (golint)
    • Line 11: warning: exported type Sender should have comment or be unexported (golint)
    • Line 22: warning: exported type Message should have comment or be unexported (golint)
    • Line 28: warning: exported method Message.Sent should have comment or be unexported (golint)
    • taotie/core/spider/parse.go
    • Line 13: warning: exported function Is404 should have comment or be unexported (golint)
    • Line 36: warning: exported function IsRobot should have comment or be unexported (golint)
    • Line 62: warning: exported function TooSortSizes should have comment or be unexported (golint)
    • Line 64: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 69: warning: exported function ParseList should have comment or be unexported (golint)
    • Line 151: warning: exported function ParseListOtherType should have comment or be unexported (golint)
    • Line 202: warning: exported type AsinDetail should have comment or be unexported (golint)
    • Line 221: warning: exported function ParseDetail should have comment or be unexported (golint)
    • taotie/core/util/crypto.go
    • Line 14: warning: exported function ComputeHmac256 should have comment or be unexported (golint)
    • Line 21: warning: exported function Base64E should have comment or be unexported (golint)
    • Line 27: warning: exported function Base64D should have comment or be unexported (golint)
    • Line 37: warning: exported function UrlE should have comment or be unexported (golint)
    • Line 41: warning: exported function UrlD should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 50: warning: exported function Md5FS should have comment or be unexported (golint)
    • taotie/core/controllers/home.go
    • Line 9: warning: exported var TimeZone should have comment or be unexported (golint)
    • Line 11: warning: exported function GetSecond2DateTimes should have comment or be unexported (golint)
    • Line 18: warning: exported function Home should have comment or be unexported (golint)
    • taotie/core/controllers/login.go
    • Line 12: warning: exported type LoginRequest should have comment or be unexported (golint)
    • Line 17: warning: exported function Login should have comment or be unexported (golint)
    • Line 91: warning: exported function Logout should have comment or be unexported (golint)
    • Line 114: warning: exported function Refresh should have comment or be unexported (golint)
    • taotie/core/model/model.go
    • Line 8: warning: exported var Rdb should have comment or be unexported (golint)
    • Line 10: warning: exported function InitRdb should have comment or be unexported (golint)
    • Line 24: warning: exported function CreateTable should have comment or be unexported (golint)
    • taotie/core/util/kv/redis.go
    • Line 8: warning: exported type MyRedisConf should have comment or be unexported (golint)
    • Line 17: warning: exported function NewRedis should have comment or be unexported (golint)
    • taotie/core/util/rdb/rdb.go
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 17: warning: exported const PG should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type MyDbConfig should have comment or be unexported (golint)
    • Line 31: warning: exported type MyDb should have comment or be unexported (golint)
    • Line 36: warning: exported type DbConfig should have comment or be unexported (golint)
    • Line 46: warning: exported function NewMysqlUrl should have comment or be unexported (golint)
    • Line 54: warning: exported function NewMysqlUrl2 should have comment or be unexported (golint)
    • Line 62: warning: exported function NewPqUrl should have comment or be unexported (golint)
    • Line 73: warning: exported function NewDb should have comment or be unexported (golint)
    • Line 127: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 132: warning: exported method MyDb.Ping should have comment or be unexported (golint)
    • Line 137: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 142: warning: exported method MyDb.IsTableExist should have comment or be unexported (golint)
    • Line 147: warning: exported method MyDb.DropTables should have comment or be unexported (golint)
    • Line 152: warning: exported method MyDb.CreateTables should have comment or be unexported (golint)
    • Line 157: warning: exported method MyDb.Insert should have comment or be unexported (golint)
    • Line 161: warning: exported method MyDb.InsertOne should have comment or be unexported (golint)
    • Line 165: warning: exported method MyDb.Update should have comment or be unexported (golint)
    • Line 170: warning: exported method MyDb.Delete should have comment or be unexported (golint)
    • Line 175: warning: comment on exported method MyDb.Query should be of the form "Query ..." (golint)
    • Line 182: warning: comment on exported method MyDb.Exec should be of the form "Exec ..." (golint)
    • taotie/core/spider/const.go
    • Line 9: warning: exported const IPPoolName should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported var TimeZone should have comment or be unexported (golint)
    • taotie/core/util/log/default.go
    • Line 1: warning: package comment should be of the form "Package log ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 34: warning: exported function Init should have comment or be unexported (golint)
    • Line 41: warning: exported function InitConf should have comment or be unexported (golint)
    • Line 45: warning: exported function CurLoggerMananger should have comment or be unexported (golint)
    • Line 49: warning: exported function Get should have comment or be unexported (golint)
    • Line 53: warning: exported function UseRoot should have comment or be unexported (golint)
    • Line 56: warning: exported function SetRootAppender should have comment or be unexported (golint)
    • Line 60: warning: exported function SetRootSeparationAppender should have comment or be unexported (golint)
    • Line 63: warning: exported function SetRootFileAppender should have comment or be unexported (golint)
    • Line 67: warning: exported function SetRootLevel should have comment or be unexported (golint)
    • Line 68: warning: exported function SetRootOnlyLevel should have comment or be unexported (golint)
    • Line 70: warning: exported function Debug should have comment or be unexported (golint)
    • Line 71: warning: exported function Log should have comment or be unexported (golint)
    • Line 72: warning: exported function Notice should have comment or be unexported (golint)
    • Line 73: warning: exported function Warn should have comment or be unexported (golint)
    • Line 74: warning: exported function Error should have comment or be unexported (golint)
    • Line 76: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 77: warning: exported function Logf should have comment or be unexported (golint)
    • Line 78: warning: exported function Noticef should have comment or be unexported (golint)
    • Line 79: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 80: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 82: warning: exported function IsAll should have comment or be unexported (golint)
    • Line 83: warning: exported function IsInfo should have comment or be unexported (golint)
    • Line 84: warning: exported function IsDebug should have comment or be unexported (golint)
    • Line 85: warning: exported function IsNotice should have comment or be unexported (golint)
    • Line 86: warning: exported function IsWarn should have comment or be unexported (golint)
    • Line 87: warning: exported function IsError should have comment or be unexported (golint)
    • taotie/core/flog/log.go
    • Line 47: warning: exported var Log should have comment or be unexported (golint)
    • Line 50: warning: exported function InitLog should have comment or be unexported (golint)
    • Line 60: warning: exported function SetLogLevel should have comment or be unexported (golint)
    • taotie/core/model/user.go
    • Line 10: warning: exported type User should have comment or be unexported (golint)
    • Line 33: warning: exported var UserSortName should have comment or be unexported (golint)
    • Line 35: warning: exported method User.Get should have comment or be unexported (golint)
    • Line 47: warning: exported method User.GetRaw should have comment or be unexported (golint)
    • Line 51: warning: exported method User.GetActivateRaw should have comment or be unexported (golint)
    • Line 55: warning: exported method User.Exist should have comment or be unexported (golint)
    • Line 84: warning: exported method User.IsNameRepeat should have comment or be unexported (golint)
    • Line 97: warning: exported method User.IsEmailRepeat should have comment or be unexported (golint)
    • Line 110: warning: exported method User.InsertOne should have comment or be unexported (golint)
    • Line 116: warning: exported method User.IsActivateCodeExist should have comment or be unexported (golint)
    • Line 124: warning: exported method User.UpdateActivateStatus should have comment or be unexported (golint)
    • Line 133: warning: exported method User.UpdateActivateCode should have comment or be unexported (golint)
    • Line 144: warning: exported method User.GetUserByEmail should have comment or be unexported (golint)
    • Line 152: warning: exported method User.UpdateCode should have comment or be unexported (golint)
    • Line 163: warning: exported method User.UpdatePassword should have comment or be unexported (golint)
    • Line 174: warning: exported method User.UpdateInfo should have comment or be unexported (golint)
    • Line 184: warning: exported method User.UpdateInfoMustVip should have comment or be unexported (golint)
    • Line 194: warning: exported method User.UpdateLoginInfo should have comment or be unexported (golint)
    • taotie/core/config/const.go
    • Line 4: warning: exported const Title should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported var ExpireTime should have comment or be unexported (golint)
    • Line 44: warning: comment on exported var IsExpire should be of the form "IsExpire ..." (golint)
    • taotie/core/model/aws.go
    • Line 5: warning: comment on exported type AwsCategoryTask should be of the form "AwsCategoryTask ..." (with optional leading article) (golint)
    • Line 27: warning: exported var AwsCategoryTaskSortName should have comment or be unexported (golint)
    • Line 29: warning: exported method AwsCategoryTask.Exist should have comment or be unexported (golint)
    • Line 33: warning: exported method AwsCategoryTask.InsertOne should have comment or be unexported (golint)
    • Line 38: warning: exported method AwsCategoryTask.GetRaw should have comment or be unexported (golint)
    • Line 42: warning: exported method AwsCategoryTask.Update should have comment or be unexported (golint)
    • Line 49: warning: exported method AwsCategoryTask.UpdateAll should have comment or be unexported (golint)
    • Line 56: warning: exported type AwsAsinTask should have comment or be unexported (golint)
    • Line 73: warning: exported var AwsAsinTaskSortName should have comment or be unexported (golint)
    • Line 75: warning: exported method AwsAsinTask.Exist should have comment or be unexported (golint)
    • Line 79: warning: exported method AwsAsinTask.InsertOne should have comment or be unexported (golint)
    • Line 84: warning: exported method AwsAsinTask.GetRaw should have comment or be unexported (golint)
    • Line 88: warning: exported method AwsAsinTask.Update should have comment or be unexported (golint)
    • Line 95: warning: exported method AwsAsinTask.UpdateAll should have comment or be unexported (golint)
    • Line 102: warning: exported type AwsAsin should have comment or be unexported (golint)
    • Line 129: warning: exported var AwsAsinSortName should have comment or be unexported (golint)
    • Line 131: warning: exported method AwsAsin.GetRaw should have comment or be unexported (golint)
    • Line 135: warning: exported method AwsAsin.Update should have comment or be unexported (golint)
    • Line 142: warning: exported type AwsAsinLib should have comment or be unexported (golint)
    • Line 155: warning: exported var AwsAsinLibSortName should have comment or be unexported (golint)
    • Line 157: warning: exported method AwsAsinLib.GetRaw should have comment or be unexported (golint)
    • Line 161: warning: exported method AwsAsinLib.InsertOne should have comment or be unexported (golint)
    • Line 168: warning: exported method AwsAsinLib.Update should have comment or be unexported (golint)
    • Line 175: warning: exported method AwsAsinLib.Incr should have comment or be unexported (golint)
    • Line 182: warning: exported type AwsStatistics should have comment or be unexported (golint)
    • Line 192: warning: exported var AwsStatisticsSortName should have comment or be unexported (golint)
    • Line 194: warning: exported method AwsStatistics.GetRaw should have comment or be unexported (golint)
    • Line 198: warning: exported method AwsStatistics.InsertOne should have comment or be unexported (golint)
    • Line 203: warning: exported method AwsStatistics.UpdateCount should have comment or be unexported (golint)
    • taotie/core/spider/proxy.go
    • Line 35: warning: exported var ProxyHasRun should have comment or be unexported (golint)
    • Line 37: warning: exported function ProxyPoolTickerStart should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 61: warning: exported function ProxyPoolAction should have comment or be unexported (golint)
    • Line 148: warning: exported function GetProxyPoolNum should have comment or be unexported (golint)
    • Line 152: warning: exported function PutProxyPool should have comment or be unexported (golint)
    • Line 156: warning: exported function GetIPFromPool should have comment or be unexported (golint)
    • taotie/core/util/log/level.go
    • Line 1: warning: package comment should be of the form "Package log ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 9: warning: exported const NOSET should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported var LogLevelMap should have comment or be unexported (golint)
    • taotie/core/config/config.go
    • Line 15: warning: exported var GlobalConfig should have comment or be unexported (golint)
    • Line 18: warning: exported type Config should have comment or be unexported (golint)
    • Line 27: warning: exported type MyConfig should have comment or be unexported (golint)
    • Line 40: warning: exported type MySpiderConfig should have comment or be unexported (golint)
    • Line 47: warning: exported function JsonOutConfig should have comment or be unexported (golint)
    • Line 57: warning: exported function InitConfig should have comment or be unexported (golint)
    • Line 148: warning: exported function InitJsonConfig should have comment or be unexported (golint)
    • Line 171: warning: exported function InitYamlConfig should have comment or be unexported (golint)
    • taotie/core/model/group.go
    • Line 9: warning: exported type Group should have comment or be unexported (golint)
    • Line 18: warning: exported var GroupSortName should have comment or be unexported (golint)
    • Line 20: warning: exported type Resource should have comment or be unexported (golint)
    • Line 30: warning: exported var ResourceSortName should have comment or be unexported (golint)
    • Line 32: warning: exported type GroupResource should have comment or be unexported (golint)
    • Line 38: warning: exported method Group.GetById should have comment or be unexported (golint)
    • Line 46: warning: exported method Group.Update should have comment or be unexported (golint)
    • Line 56: warning: exported method Group.Exist should have comment or be unexported (golint)
    • Line 80: warning: exported method Group.Delete should have comment or be unexported (golint)
    • Line 89: warning: exported method Group.Take should have comment or be unexported (golint)
    • Line 101: warning: exported method Resource.Get should have comment or be unexported (golint)
    • Line 113: warning: exported method Resource.GetRaw should have comment or be unexported (golint)
    • Line 117: warning: exported method Resource.InsertOne should have comment or be unexported (golint)
    • Line 125: warning: exported method GroupResource.Exist should have comment or be unexported (golint)
    • taotie/core/controllers/file.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 19: warning: exported var FileAllow should have comment or be unexported (golint)
    • Line 34: warning: exported var FileBytes should have comment or be unexported (golint)
    • Line 37: warning: exported type UploadResponse should have comment or be unexported (golint)
    • Line 47: warning: comment on exported function UploadFile should be of the form "UploadFile ..." (golint)
    • Line 235: warning: exported type ListFileAdminRequest should have comment or be unexported (golint)
    • Line 255: warning: exported type ListFileAdminResponse should have comment or be unexported (golint)
    • Line 260: warning: exported function ListFileAdminHelper should have comment or be unexported (golint)
    • Line 393: warning: comment on exported function ListFileAdmin should be of the form "ListFileAdmin ..." (golint)
    • Line 398: warning: comment on exported function ListFile should be of the form "ListFile ..." (golint)
    • Line 413: warning: exported type UpdateFileRequest should have comment or be unexported (golint)
    • Line 420: warning: exported function UpdateFileAdminHelper should have comment or be unexported (golint)
    • Line 460: warning: comment on exported function UpdateFileAdmin should be of the form "UpdateFileAdmin ..." (golint)
    • Line 465: warning: comment on exported function UpdateFile should be of the form "UpdateFile ..." (golint)
    • taotie/core/spider/statistics.go
    • Line 11: warning: exported function IncrPoolCountToday should have comment or be unexported (golint)
    • Line 17: warning: exported function GetPoolCountToday should have comment or be unexported (golint)
    • Line 28: warning: exported function AwsCategoryStatistic should have comment or be unexported (golint)
    • Line 79: warning: exported function AwsAsinStatistic should have comment or be unexported (golint)
    • taotie/core/util/log/conf.go
    • Line 1: warning: package comment should be of the form "Package log ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 12: warning: exported type ConfigLogger should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported function LoadConf should be of the form "LoadConf ..." (golint)
    • Line 41: warning: comment on exported method Config.BuildAppenders should be of the form "BuildAppenders ..." (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 64: warning: exported method Config.BuildLoggers 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 92: warning: exported method Config.RootLogger 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 108: warning: exported method Config.RootsLogger 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 143: warning: exported method Config.Verify should have comment or be unexported (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • taotie/core/router/router.go
    • Line 8: warning: exported type HttpHandle should have comment or be unexported (golint)
    • Line 16: warning: exported var POST should have comment or be unexported (golint)
    • Line 22: warning: exported var HomeRouter should have comment or be unexported (golint)
    • Line 34: warning: comment on exported var V1Router should be of the form "V1Router ..." (golint)
    • Line 84: warning: exported function SetRouter should have comment or be unexported (golint)
    • Line 92: warning: exported function SetAPIRouter should have comment or be unexported (golint)
    • taotie/core/controllers/auth.go
    • Line 12: warning: comment on exported const AuthHeader should be of the form "AuthHeader ..." (golint)
    • Line 16: warning: comment on exported var AuthDebug should be of the form "AuthDebug ..." (golint)
    • Line 19: warning: comment on exported var AdminUrl should be of the form "AdminUrl ..." (golint)
    • Line 22: warning: comment on exported var SingleLogin should be of the form "SingleLogin ..." (golint)
    • Line 25: warning: comment on exported var SessionExpireTime should be of the form "SessionExpireTime ..." (golint)
    • Line 29: warning: comment on exported var AuthFilter should be of the form "AuthFilter ..." (golint)
    • Line 111: warning: comment on exported function GetUserSession should be of the form "GetUserSession ..." (golint)
    • Line 130: warning: exported function SetUserSession should have comment or be unexported (golint)
    • Line 143: warning: exported function DeleteUserSession should have comment or be unexported (golint)
    • Line 149: warning: exported function DeleteUserAllSession should have comment or be unexported (golint)
    • Line 154: warning: exported function RefreshUserSession should have comment or be unexported (golint)
    • taotie/core/controllers/resource.go
    • Line 13: warning: exported type ListResourceRequest should have comment or be unexported (golint)
    • Line 21: warning: exported type ListResourceResponse should have comment or be unexported (golint)
    • Line 26: warning: exported function ListResource should have comment or be unexported (golint)
    • Line 108: warning: exported type AssignResourceToGroupRequest should have comment or be unexported (golint)
    • Line 114: warning: exported function AssignResourceToGroup should have comment or be unexported (golint)
    • taotie/core/model/page.go
    • Line 8: warning: exported type PageHelp should have comment or be unexported (golint)
    • Line 13: warning: exported method PageHelp.Build should have comment or be unexported (golint)
    • taotie/core/util/file.go
    • Line 16: warning: comment on exported function CurDir should be of the form "CurDir ..." (golint)
    • Line 23: warning: comment on exported function GetBinaryCurrentPath should be of the form "GetBinaryCurrentPath ..." (golint)
    • Line 50: warning: comment on exported function GetCurrentPath should be of the form "GetCurrentPath ..." (golint)
    • Line 55: warning: comment on exported function SaveToFile should be of the form "SaveToFile ..." (golint)
    • Line 63: warning: comment on exported function ReadfromFile should be of the form "ReadfromFile ..." (golint)
    • Line 68: warning: comment on exported function GetFilenameInfo should be of the form "GetFilenameInfo ..." (golint)
    • Line 74: warning: comment on exported function Rename should be of the form "Rename ..." (golint)
    • Line 79: warning: comment on exported function MakeDir should be of the form "MakeDir ..." (golint)
    • Line 85: warning: comment on exported function MakeDirByFile should be of the form "MakeDirByFile ..." (golint)
    • Line 97: warning: exported function FileExist should have comment or be unexported (golint)
    • Line 104: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 109: warning: comment on exported function WalkDir should be of the form "WalkDir ..." (golint)
    • Line 126: warning: comment on exported function ListDir should be of the form "ListDir ..." (golint)
    • Line 145: warning: comment on exported function ListDirOnlyName should be of the form "ListDirOnlyName ..." (golint)
    • Line 164: warning: comment on exported function HasFile should be of the form "HasFile ..." (golint)
    • Line 174: warning: comment on exported function CopyFF should be of the form "CopyFF ..." (golint)
    • Line 180: warning: comment on exported function CopyFS should be of the form "CopyFS ..." (golint)
    • Line 191: warning: comment on exported function IsFile should be of the form "IsFile ..." (golint)
    • Line 196: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 199: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 205: warning: comment on exported function IsDir should be of the form "IsDir ..." (golint)
    • Line 210: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 213: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 219: warning: comment on exported function FileStatus should be of the form "FileStatus ..." (golint)
    • Line 229: warning: comment on exported function SizeofDir should be of the form "SizeofDir ..." (golint)
    • Line 239: warning: comment on exported function GetFileSuffix should be of the form "GetFileSuffix ..." (golint)
    • Line 244: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 249: warning: comment on exported function ValidFileName should be of the form "ValidFileName ..." (golint)
    • Line 269: warning: exported function ValidBackFileName should have comment or be unexported (golint)
    • taotie/core/spider/core.go
    • Line 14: warning: exported var AwsAsinTaskHasRun should have comment or be unexported (golint)
    • Line 19: warning: exported function AwsAsinTaskStart should have comment or be unexported (golint)
    • Line 34: warning: exported function AwsCategoryTaskStart should have comment or be unexported (golint)
    • Line 103: warning: exported function DownloadCategory should have comment or be unexported (golint)
    • Line 235: warning: exported function DownloadAsin should have comment or be unexported (golint)
    • Line 276: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 351: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • taotie/core/controllers/response.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 16: warning: comment on exported function ParseJSON should be of the form "ParseJSON ..." (golint)
    • Line 34: warning: comment on exported function JSONL should be of the form "JSONL ..." (golint)
    • Line 87: warning: comment on exported function JSON should be of the form "JSON ..." (golint)
    • taotie/core/model/file.go
    • Line 9: warning: exported type File should have comment or be unexported (golint)
    • Line 29: warning: exported var FileSortName should have comment or be unexported (golint)
    • Line 31: warning: exported method File.Exist should have comment or be unexported (golint)
    • Line 58: warning: exported method File.Get should have comment or be unexported (golint)
    • Line 75: warning: exported method File.Update should have comment or be unexported (golint)
    • Line 112: warning: exported method File.UpdateStatus should have comment or be unexported (golint)
    • taotie/core/util/log/golog/golog.go
    • Line 5: warning: package comment should be of the form "Package golog ..." (golint)
    • Line 258: warning: comment on exported method Logger.Printf should be of the form "Printf ..." (golint)
    • Line 312: warning: comment on exported method Logger.Flags should be of the form "Flags ..." (golint)
    • Line 435: warning: comment on exported function Output should be of the form "Output ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!