Preparing report...

Report for github.com/studygolang/studygolang

A    Great!    Found 174 issues across 200 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!


golint13%

Golint is a linter for Go source code.

    • studygolang/model/favorite.go
    • Line 9: warning: comment on exported type Favorite should be of the form "Favorite ..." (with optional leading article) (golint)
    • Line 17: warning: exported method Favorite.TableName should have comment or be unexported (golint)
    • studygolang/http/controller/index.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 27: warning: exported type IndexController should have comment or be unexported (golint)
    • Line 29: warning: comment on exported method IndexController.RegisterRoute should be of the form "RegisterRoute ..." (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 38: warning: exported method IndexController.Index should have comment or be unexported (golint)
    • Line 128: warning: comment on exported method IndexController.Pkgdoc should be of the form "Pkgdoc ..." (golint)
    • Line 147: warning: exported method IndexController.Markdown should have comment or be unexported (golint)
    • studygolang/logic/wiki.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 25: warning: exported type WikiLogic should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultWiki should have comment or be unexported (golint)
    • Line 51: warning: exported method WikiLogic.Modify should have comment or be unexported (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/ad.go
    • Line 11: warning: exported type Advertisement should have comment or be unexported (golint)
    • Line 21: warning: exported type PageAd should have comment or be unexported (golint)
    • studygolang/http/controller/project.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 32: warning: exported type ProjectController should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method ProjectController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/app/wechat.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 20: warning: exported type WechatController should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/user.go
    • Line 32: warning: should not use dot imports (golint)
    • Line 35: warning: exported type UserLogic should have comment or be unexported (golint)
    • Line 37: warning: exported var DefaultUser should have comment or be unexported (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 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: exported method UserLogic.FindOne should have comment or be unexported (golint)
    • Line 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: comment on exported method UserLogic.FindCurrentUser should be of the form "FindCurrentUser ..." (golint)
    • Line 286: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 364: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 377: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 389: warning: comment on exported method UserLogic.Total should be of the form "Total ..." (golint)
    • Line 398: warning: exported method UserLogic.IsAdmin should have comment or be unexported (golint)
    • Line 413: warning: exported var ErrUsername should have comment or be unexported (golint)
    • Line 418: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 463: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 497: warning: exported method UserLogic.HasPasswd should have comment or be unexported (golint)
    • Line 507: warning: exported method UserLogic.ResetPasswd should have comment or be unexported (golint)
    • Line 507: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 531: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 555: warning: comment on exported method UserLogic.IncrUserWeight should be of the form "IncrUserWeight ..." (golint)
    • Line 563: warning: exported method UserLogic.DecrUserWeight should have comment or be unexported (golint)
    • Line 606: warning: exported method UserLogic.FindDAUUsers should have comment or be unexported (golint)
    • Line 631: warning: comment on exported method UserLogic.FindUserByPage should be of the form "FindUserByPage ..." (golint)
    • Line 660: warning: exported method UserLogic.AdminUpdateUser should have comment or be unexported (golint)
    • Line 660: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 711: warning: comment on exported method UserLogic.FindNotLoginUsers should be of the form "FindNotLoginUsers ..." (golint)
    • Line 718: warning: comment on exported method UserLogic.EmailSubscribe should be of the form "EmailSubscribe ..." (golint)
    • Line 726: warning: exported method UserLogic.FindBindUsers should have comment or be unexported (golint)
    • Line 794: warning: exported method UserLogic.DeleteUserContent should have comment or be unexported (golint)
    • studygolang/logic/risk.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 16: warning: exported type RiskLogic should have comment or be unexported (golint)
    • Line 18: warning: exported var DefaultRisk 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)
    • studygolang/logic/favorite.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 19: warning: exported type FavoriteLogic should have comment or be unexported (golint)
    • Line 21: warning: exported var DefaultFavorite should have comment or be unexported (golint)
    • Line 23: warning: exported method FavoriteLogic.Save should have comment or be unexported (golint)
    • Line 45: warning: exported method FavoriteLogic.Cancel should have comment or be unexported (golint)
    • Line 68: warning: exported method FavoriteLogic.FindUserFavorites should have comment or be unexported (golint)
    • studygolang/http/controller/app/topic.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 23: warning: exported type TopicController should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method TopicController.RegisterRoute should be of the form "RegisterRoute ..." (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 37: warning: exported method TopicController.TopicList 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 49: warning: exported method TopicController.Topics should have comment or be unexported (golint)
    • Line 49: 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 TopicController.TopicsNoReply 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 57: warning: exported method TopicController.TopicsLast should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/topic.go
    • Line 12: warning: exported const FlagNoAudit should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: comment on exported const AppendMaxNum should be of the form "AppendMaxNum ..." (golint)
    • Line 24: warning: exported const PermissionPublic should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: comment on exported type Topic should be of the form "Topic ..." (with optional leading article) (golint)
    • Line 56: warning: exported method Topic.TableName should have comment or be unexported (golint)
    • Line 60: warning: exported method Topic.BeforeInsert 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 66: warning: comment on exported type TopicEx should be of the form "TopicEx ..." (with optional leading article) (golint)
    • Line 75: warning: exported method TopicEx.TableName should have comment or be unexported (golint)
    • Line 79: warning: comment on exported type TopicUpEx should be of the form "TopicUpEx ..." (with optional leading article) (golint)
    • Line 88: warning: exported method TopicUpEx.TableName should have comment or be unexported (golint)
    • Line 92: warning: exported type TopicInfo should have comment or be unexported (golint)
    • Line 97: warning: exported method TopicInfo.TableName should have comment or be unexported (golint)
    • Line 101: warning: exported type TopicAppend should have comment or be unexported (golint)
    • Line 108: warning: comment on exported type TopicNode should be of the form "TopicNode ..." (with optional leading article) (golint)
    • Line 123: warning: exported method TopicNode.TableName should have comment or be unexported (golint)
    • Line 127: warning: comment on exported type RecommendNode should be of the form "RecommendNode ..." (with optional leading article) (golint)
    • Line 137: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 142: warning: exported method NodeInfo.TableName should have comment or be unexported (golint)
    • studygolang/model/user_setting.go
    • Line 12: warning: exported const KeyNewUserWait should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type UserSetting should have comment or be unexported (golint)
    • studygolang/model/wiki.go
    • Line 11: warning: exported type Wiki should have comment or be unexported (golint)
    • Line 26: warning: exported method Wiki.BeforeInsert 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)
    • studygolang/util/tool.go
    • Line 20: warning: comment on exported function Gravatar should be of the form "Gravatar ..." (golint)
    • Line 42: warning: exported function Max should have comment or be unexported (golint)
    • Line 46: warning: comment on exported function UMin should be of the form "UMin ..." (golint)
    • Line 54: warning: comment on exported function EmbedWide should be of the form "EmbedWide ..." (golint)
    • studygolang/http/controller/oauth.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 20: warning: exported type OAuthController should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method OAuthController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 23: 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 OAuthController.GithubLogin should have comment or be unexported (golint)
    • Line 37: warning: exported method OAuthController.GithubCallback should have comment or be unexported (golint)
    • Line 74: warning: exported method OAuthController.GiteaLogin should have comment or be unexported (golint)
    • Line 80: warning: exported method OAuthController.GiteaCallback should have comment or be unexported (golint)
    • studygolang/logic/html2article.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 21: warning: exported method ArticleLogic.ParseArticleByAccuracy should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/util/convert.go
    • Line 15: warning: exported function Struct2Map should have comment or be unexported (golint)
    • Line 47: warning: comment on exported function Models2Intslice should be of the form "Models2Intslice ..." (golint)
    • studygolang/http/controller/gift.go
    • Line 19: warning: exported type GiftController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method GiftController.RegisterRoute should be of the form "RegisterRoute ..." (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 28: warning: exported method GiftController.GiftList should have comment or be unexported (golint)
    • Line 45: warning: exported method GiftController.Exchange should have comment or be unexported (golint)
    • Line 56: warning: exported method GiftController.MyGift should have comment or be unexported (golint)
    • studygolang/logic/gift.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 21: warning: exported type GiftLogic should have comment or be unexported (golint)
    • Line 23: warning: exported var DefaultGift should have comment or be unexported (golint)
    • Line 25: warning: exported method GiftLogic.FindAllOnline should have comment or be unexported (golint)
    • Line 25: 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 GiftLogic.Exchange 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 78: warning: exported method GiftLogic.FindExchangeRecords should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method GiftLogic.UserCanExchange should have comment or be unexported (golint)
    • Line 91: 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)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: 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)
    • studygolang/logic/reading.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 22: warning: exported type ReadingLogic should have comment or be unexported (golint)
    • Line 24: warning: exported var DefaultReading should have comment or be unexported (golint)
    • Line 26: warning: exported method ReadingLogic.FindLastList should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method ReadingLogic.FindBy should be of the form "FindBy ..." (golint)
    • Line 52: warning: comment on exported method ReadingLogic.IReading should be of the form "IReading ..." (golint)
    • studygolang/logic/user_rich.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 33: warning: exported type UserRichLogic should have comment or be unexported (golint)
    • Line 35: warning: exported var DefaultUserRich should have comment or be unexported (golint)
    • Line 37: warning: exported method UserRichLogic.AwardCooper 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 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: exported method UserRichLogic.FindBalanceDetail should have comment or be unexported (golint)
    • Line 174: warning: exported method UserRichLogic.Total should have comment or be unexported (golint)
    • Line 182: warning: exported method UserRichLogic.FindRecharge 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 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/setting.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 22: warning: exported type SettingLogic should have comment or be unexported (golint)
    • Line 24: warning: exported var DefaultSetting should have comment or be unexported (golint)
    • Line 26: warning: exported method SettingLogic.Update should have comment or be unexported (golint)
    • Line 180: warning: exported method SettingLogic.UpdateIndexTabChildren should have comment or be unexported (golint)
    • studygolang/model/subject.go
    • Line 38: warning: exported const ContributeStateNew should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported method SubjectArticles.TableName should have comment or be unexported (golint)
    • studygolang/model/user_rich.go
    • Line 15: warning: exported var BalanceTypeMap should have comment or be unexported (golint)
    • Line 38: warning: exported type UserBalanceDetail should have comment or be unexported (golint)
    • Line 50: warning: exported method UserBalanceDetail.AfterSet should have comment or be unexported (golint)
    • Line 50: 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 type UserRecharge should have comment or be unexported (golint)
    • studygolang/logic/subject.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 25: warning: exported type SubjectLogic should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultSubject should have comment or be unexported (golint)
    • Line 29: warning: exported method SubjectLogic.FindBy should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: exported method SubjectLogic.FindOne should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method SubjectLogic.FindArticles should have comment or be unexported (golint)
    • Line 87: 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)
    • Line 131: 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 161: 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 200: warning: exported method SubjectLogic.HadFollow 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 212: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 272: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 284: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 310: warning: exported method SubjectLogic.ExistByName should have comment or be unexported (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 316: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 375: warning: exported method SubjectLogic.FindArticleSubjects should have comment or be unexported (golint)
    • Line 375: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 406: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 464: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/image.go
    • Line 19: warning: should not use dot imports (golint)
    • Line 27: warning: comment on exported type ImageController should be of the form "ImageController ..." (with optional leading article) (golint)
    • Line 30: warning: exported method ImageController.RegisterRoute 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 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/wechat.go
    • Line 21: warning: exported type WechatController should have comment or be unexported (golint)
    • Line 23: warning: comment on exported method WechatController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method WechatController.AutoReply should have comment or be unexported (golint)
    • Line 29: 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 WechatController.Bind 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)
    • studygolang/logic/gobook.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 20: warning: exported type GoBookLogic should have comment or be unexported (golint)
    • Line 22: warning: exported var DefaultGoBook should have comment or be unexported (golint)
    • Line 24: warning: exported method GoBookLogic.Publish should have comment or be unexported (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method GoBookLogic.Count should have comment or be unexported (golint)
    • Line 184: warning: comment on exported type BookComment should be of the form "BookComment ..." (with optional leading article) (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 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 223: warning: comment on exported type BookLike should be of the form "BookLike ..." (with optional leading article) (golint)
    • Line 226: warning: comment on exported method BookLike.UpdateLike should be of the form "UpdateLike ..." (golint)
    • Line 228: 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)
    • studygolang/model/resource.go
    • Line 12: warning: exported const LinkForm should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: comment on exported type Resource should be of the form "Resource ..." (with optional leading article) (golint)
    • Line 36: warning: exported method Resource.BeforeInsert 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 44: warning: comment on exported type ResourceEx should be of the form "ResourceEx ..." (with optional leading article) (golint)
    • Line 53: warning: exported type ResourceInfo should have comment or be unexported (golint)
    • Line 58: warning: exported method ResourceInfo.TableName should have comment or be unexported (golint)
    • Line 62: warning: comment on exported type ResourceCat should be of the form "ResourceCat ..." (with optional leading article) (golint)
    • Line 70: warning: exported method ResourceCat.TableName should have comment or be unexported (golint)
    • studygolang/util/string.go
    • Line 5: warning: package comment should be of the form "Package util ..." (golint)
    • Line 206: warning: comment on exported function Substring should be of the form "Substring ..." (golint)
    • Line 218: warning: error var outOfRange should have name of the form errFoo (golint)
    • Line 219: warning: error var sliceOutOfRange should have name of the form errFoo (golint)
    • Line 221: warning: comment on exported function UnderscoreName should be of the form "UnderscoreName ..." (golint)
    • Line 238: warning: exported function SafeHtml should have comment or be unexported (golint)
    • studygolang/logic/mission.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 26: warning: exported type MissionLogic should have comment or be unexported (golint)
    • Line 28: warning: exported var DefaultMission 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 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method MissionLogic.FindLoginMission 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)
    • studygolang/logic/rank.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 23: warning: exported type RankLogic should have comment or be unexported (golint)
    • Line 25: warning: exported var DefaultRank should have comment or be unexported (golint)
    • Line 27: warning: exported method RankLogic.GenDayRank 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 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: exported method RankLogic.FindWeekRank should have comment or be unexported (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 126: warning: exported method RankLogic.FindMonthRank 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 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 201: warning: exported method RankLogic.UserDAURank 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 210: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 293: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/admin/reading.go
    • Line 20: warning: exported type ReadingController should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method ReadingController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: comment on exported method ReadingController.ReadingQuery should be of the form "ReadingQuery ..." (golint)
    • Line 70: warning: comment on exported method ReadingController.Publish should be of the form "Publish ..." (golint)
    • studygolang/model/gctt.go
    • Line 16: warning: exported const GCTTRoleTranslator should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported const IssueOpened should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported const LabelUnClaim should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type GCTTUser should have comment or be unexported (golint)
    • Line 66: warning: exported method GCTTUser.AfterSet should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method GCTTUser.TableName should have comment or be unexported (golint)
    • Line 77: warning: exported type GCTTGit should have comment or be unexported (golint)
    • Line 90: warning: exported method GCTTGit.TableName should have comment or be unexported (golint)
    • Line 94: warning: exported type GCTTIssue should have comment or be unexported (golint)
    • Line 106: warning: exported method GCTTIssue.TableName should have comment or be unexported (golint)
    • Line 110: warning: exported type GCTTTimeLine should have comment or be unexported (golint)
    • Line 116: warning: exported method GCTTTimeLine.TableName should have comment or be unexported (golint)
    • studygolang/http/controller/admin/rule.go
    • Line 19: warning: exported type RuleController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method RuleController.RegisterRoute should be of the form "RegisterRoute ..." (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 51: warning: comment on exported method RuleController.Query should be of the form "Query ..." (golint)
    • Line 90: 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 RuleController.Del should have comment or be unexported (golint)
    • studygolang/http/controller/feed.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 22: warning: exported type FeedController should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method FeedController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 25: 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 FeedController.Atom 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 34: warning: exported method FeedController.List 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)
    • studygolang/logic/feed.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 25: warning: exported type FeedLogic should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultFeed should have comment or be unexported (golint)
    • Line 29: warning: exported method FeedLogic.GetTotalCount should have comment or be unexported (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method FeedLogic.FindRecentWithPaginator should have comment or be unexported (golint)
    • Line 39: 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 FeedLogic.FindRecent 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 69: warning: exported method FeedLogic.FindTop should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: 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 318: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 327: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/comment.go
    • Line 20: warning: exported const TypeComment should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported const TypeTop should be of the form "TypeTop ..." (golint)
    • Line 26: warning: exported const TopicURI should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported var PathUrlMap should have comment or be unexported (golint)
    • Line 43: warning: exported var TypeNameMap should have comment or be unexported (golint)
    • Line 52: warning: comment on exported type Comment should be of the form "Comment ..." (with optional leading article) (golint)
    • Line 67: warning: exported method Comment.TableName should have comment or be unexported (golint)
    • studygolang/http/controller/account.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 18: warning: should not use dot imports (golint)
    • Line 33: warning: exported type AccountController should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method AccountController.RegisterRoute should be of the form "RegisterRoute ..." (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 51: warning: exported method AccountController.Register should have comment or be unexported (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 144: 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 AccountController.WechatActive 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)
    • studygolang/http/controller/message.go
    • Line 23: warning: exported type MessageController should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method MessageController.RegisterRoute should be of the form "RegisterRoute ..." (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 76: warning: comment on exported method MessageController.ReadList should be of the form "ReadList ..." (golint)
    • Line 110: warning: comment on exported method MessageController.Delete should be of the form "Delete ..." (golint)
    • studygolang/model/book.go
    • Line 12: warning: exported const IsFreeFalse should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type Book should have comment or be unexported (golint)
    • Line 46: warning: exported method Book.AfterInsert should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/article.go
    • Line 20: warning: exported const ArticleStatusNew should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported var LangSlice should have comment or be unexported (golint)
    • Line 26: warning: exported var ArticleStatusSlice should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type Article should be of the form "Article ..." (with optional leading article) (golint)
    • Line 65: warning: exported method Article.AfterSet should have comment or be unexported (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 71: warning: exported method Article.BeforeInsert 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 78: warning: exported method Article.AfterInsert should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method Article.TableName should have comment or be unexported (golint)
    • Line 95: warning: exported type ArticleGCTT should have comment or be unexported (golint)
    • Line 107: warning: exported method ArticleGCTT.TableName should have comment or be unexported (golint)
    • Line 111: warning: exported method ArticleGCTT.AfterSet should have comment or be unexported (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 117: warning: comment on exported type CrawlRule should be of the form "CrawlRule ..." (with optional leading article) (golint)
    • Line 134: warning: exported method CrawlRule.ParseExt 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 150: warning: exported const AutoCrawlOn should have comment (or a comment on this block) or be unexported (golint)
    • Line 154: warning: comment on exported type AutoCrawlRule should be of the form "AutoCrawlRule ..." (with optional leading article) (golint)
    • Line 172: warning: exported method AutoCrawlRule.AfterSet should have comment or be unexported (golint)
    • Line 172: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/user.go
    • Line 19: warning: comment on exported type UserLogin should be of the form "UserLogin ..." (with optional leading article) (golint)
    • Line 30: warning: exported method UserLogin.TableName 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 34: warning: comment on exported method UserLogin.GenMd5Passwd should be of the form "GenMd5Passwd ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported const UserStatusNoAudit should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: comment on exported const DauAuthTopic should be of the form "DauAuthTopic ..." (golint)
    • Line 56: warning: exported const DauAuthArticle should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported const DefaultAuth should have comment or be unexported (golint)
    • Line 67: warning: comment on exported type User should be of the form "User ..." (with optional leading article) (golint)
    • Line 107: warning: exported method User.TableName should have comment or be unexported (golint)
    • Line 107: 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 121: warning: exported method User.AfterSet should have comment or be unexported (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: comment on exported type UserActive should be of the form "UserActive ..." (with optional leading article) (golint)
    • Line 172: warning: comment on exported type UserRole should be of the form "UserRole ..." (with optional leading article) (golint)
    • Line 180: warning: exported const BindTypeGithub should have comment (or a comment on this block) or be unexported (golint)
    • Line 184: warning: exported type BindUser should have comment or be unexported (golint)
    • studygolang/model/wechat_msg.go
    • Line 12: warning: exported const WeMsgTypeText should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported type WechatMsg should have comment or be unexported (golint)
    • Line 44: warning: don't use underscores in Go names; struct field Location_X should be LocationX (golint)
    • Line 45: warning: don't use underscores in Go names; struct field Location_Y should be LocationY (golint)
    • Line 58: warning: exported type CData should have comment or be unexported (golint)
    • Line 62: warning: exported type WechatReply should have comment or be unexported (golint)
    • Line 72: warning: exported type WechatImage should have comment or be unexported (golint)
    • studygolang/middleware/auth.go
    • Line 10: warning: exported type AuthConfig should have comment or be unexported (golint)
    • Line 15: warning: exported function NewAuthConfig should have comment or be unexported (golint)
    • Line 22: warning: exported var DefaultAuthConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function EchoAuth should have comment or be unexported (golint)
    • Line 28: warning: comment on exported function EchoAuthWithConfig should be of the form "EchoAuthWithConfig ..." (golint)
    • studygolang/logic/data.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 23: warning: exported var Authorities should have comment or be unexported (golint)
    • Line 32: warning: comment on exported var AllNode should be of the form "AllNode ..." (golint)
    • Line 34: warning: comment on exported var AllRecommendNodes should be of the form "AllRecommendNodes ..." (golint)
    • Line 38: warning: comment on exported var AllCategory should be of the form "AllCategory ..." (golint)
    • Line 49: warning: comment on exported function LoadAuthorities should be of the form "LoadAuthorities ..." (golint)
    • Line 68: warning: comment on exported function LoadRoleAuthorities should be of the form "LoadRoleAuthorities ..." (golint)
    • Line 97: warning: comment on exported function LoadRoles should be of the form "LoadRoles ..." (golint)
    • Line 127: warning: comment on exported function LoadNodes should be of the form "LoadNodes ..." (golint)
    • Line 174: warning: exported function LoadWebsiteSetting should have comment or be unexported (golint)
    • Line 186: warning: exported function LoadUserSetting should have comment or be unexported (golint)
    • Line 207: warning: exported function LoadDefaultAvatar should have comment or be unexported (golint)
    • Line 225: warning: comment on exported function GetNodeName should be of the form "GetNodeName ..." (golint)
    • Line 241: warning: comment on exported function GetNodeByEname should be of the form "GetNodeByEname ..." (golint)
    • Line 266: warning: comment on exported function GetNidByEname should be of the form "GetNidByEname ..." (golint)
    • Line 282: warning: comment on exported function GetNode should be of the form "GetNode ..." (golint)
    • Line 307: warning: comment on exported function GetNodesByNids should be of the form "GetNodesByNids ..." (golint)
    • Line 357: warning: comment on exported function GenNodes should be of the form "GenNodes ..." (golint)
    • Line 386: warning: comment on exported function LoadCategories should be of the form "LoadCategories ..." (golint)
    • Line 405: warning: comment on exported function GetCategoryName should be of the form "GetCategoryName ..." (golint)
    • Line 417: warning: exported function GetCurIndexNav should have comment or be unexported (golint)
    • studygolang/http/controller/balance.go
    • Line 19: warning: exported type UserRichController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method UserRichController.RegisterRoute should be of the form "RegisterRoute ..." (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 27: warning: exported method UserRichController.MyBalance should have comment or be unexported (golint)
    • Line 41: warning: exported method UserRichController.Add should have comment or be unexported (golint)
    • studygolang/http/controller/mission.go
    • Line 22: warning: exported type MissionController should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method MissionController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 25: 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 MissionController.Daily should have comment or be unexported (golint)
    • Line 51: warning: exported method MissionController.DailyRedeem should have comment or be unexported (golint)
    • Line 58: warning: exported method MissionController.Complete should have comment or be unexported (golint)
    • studygolang/http/controller/topic.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 33: warning: exported type TopicController should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method TopicController.RegisterRoute should be of the form "RegisterRoute ..." (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 53: warning: exported method TopicController.TopicList 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 71: warning: exported method TopicController.Topics 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 75: warning: exported method TopicController.TopicsNoReply should have comment or be unexported (golint)
    • Line 75: 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 TopicController.TopicsLast 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 299: warning: exported method TopicController.Append should have comment or be unexported (golint)
    • Line 348: warning: exported method TopicController.SetTop should have comment or be unexported (golint)
    • studygolang/http/controller/wide.go
    • Line 11: warning: exported type WideController should have comment or be unexported (golint)
    • Line 13: warning: comment on exported method WideController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 14: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/email.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 29: warning: exported type EmailLogic should have comment or be unexported (golint)
    • Line 31: warning: exported var DefaultEmail should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 144: warning: comment on exported method EmailLogic.EmailNotice should be of the form "EmailNotice ..." (golint)
    • Line 145: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 247: warning: comment on exported method EmailLogic.GenUnsubscribeToken should be of the form "GenUnsubscribeToken ..." (golint)
    • studygolang/logic/github.go
    • Line 19: warning: should not use dot imports (golint)
    • Line 28: warning: exported type GithubLogic should have comment or be unexported (golint)
    • Line 30: warning: exported var DefaultGithub should have comment or be unexported (golint)
    • Line 41: warning: error var noMoreDataErr should have name of the form errFoo (golint)
    • Line 43: warning: exported method GithubLogic.PullRequestEvent should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: 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)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: exported method GithubLogic.PullPR should have comment or be unexported (golint)
    • Line 156: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: warning: exported method GithubLogic.SyncIssues should have comment or be unexported (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 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 304: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 330: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 380: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 415: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 465: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 512: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 553: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 726: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 736: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 755: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/index.go
    • Line 18: warning: exported type IndexLogic should have comment or be unexported (golint)
    • Line 20: warning: exported var DefaultIndex should have comment or be unexported (golint)
    • Line 22: warning: exported method IndexLogic.FindData 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 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/app/user.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 12: warning: should not use dot imports (golint)
    • Line 19: warning: exported type UserController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method UserController.RegisterRoute should be of the form "RegisterRoute ..." (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 54: warning: exported method UserController.Login should have comment or be unexported (golint)
    • Line 79: warning: exported method UserController.Modify should have comment or be unexported (golint)
    • studygolang/logic/page.go
    • Line 15: warning: comment on exported const PerPage should be of the form "PerPage ..." (golint)
    • Line 27: warning: exported function NewPaginator should have comment or be unexported (golint)
    • Line 31: warning: exported function NewPaginatorWithPerPage 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 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 132: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method Paginator.SetTotal should have comment or be unexported (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 146: warning: exported method Paginator.GetTotal should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method Paginator.Offset should have comment or be unexported (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 157: warning: exported method Paginator.SetPerPage should have comment or be unexported (golint)
    • Line 157: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: exported method Paginator.PerPage should have comment or be unexported (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: exported method Paginator.HasMorePage 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)
    • studygolang/http/controller/article.go
    • Line 21: warning: should not use dot imports (golint)
    • Line 35: warning: exported type ArticleController should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method ArticleController.RegisterRoute should be of the form "RegisterRoute ..." (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 211: warning: exported method ArticleController.Crawl should have comment or be unexported (golint)
    • studygolang/http/controller/captcha.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 18: warning: comment on exported type CaptchaController should be of the form "CaptchaController ..." (with optional leading article) (golint)
    • Line 21: warning: exported method CaptchaController.RegisterRoute should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 25: warning: exported method CaptchaController.Server should have comment or be unexported (golint)
    • studygolang/http/controller/link.go
    • Line 16: warning: exported type LinkController should have comment or be unexported (golint)
    • Line 18: warning: comment on exported method LinkController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/download.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 22: warning: exported type DownloadLogic should have comment or be unexported (golint)
    • Line 24: warning: exported var DefaultDownload should have comment or be unexported (golint)
    • Line 26: warning: exported method DownloadLogic.FindAll should have comment or be unexported (golint)
    • Line 36: warning: exported method DownloadLogic.RecordDLTimes should have comment or be unexported (golint)
    • Line 42: warning: exported method DownloadLogic.AddNewDownload should have comment or be unexported (golint)
    • studygolang/http/internal/helper/account.go
    • Line 22: warning: exported var RegActivateCode 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 41: 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)
    • studygolang/http/controller/install.go
    • Line 28: warning: exported type InstallController should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method InstallController.RegisterRoute should be of the form "RegisterRoute ..." (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 38: warning: exported method InstallController.SetupConfig 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 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method InstallController.SetupOptions should have comment or be unexported (golint)
    • studygolang/http/controller/like.go
    • Line 22: warning: exported type LikeController should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method LikeController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/project.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 28: warning: exported type ProjectLogic should have comment or be unexported (golint)
    • Line 30: warning: exported var DefaultProject should have comment or be unexported (golint)
    • Line 32: warning: exported method ProjectLogic.Publish should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 231: warning: exported method ProjectLogic.Count should have comment or be unexported (golint)
    • Line 299: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 338: warning: exported const OsChinaDomain should have comment or be unexported (golint)
    • Line 343: warning: exported var PresetUsernames should have comment or be unexported (golint)
    • Line 482: warning: comment on exported type ProjectComment should be of the form "ProjectComment ..." (with optional leading article) (golint)
    • Line 485: warning: comment on exported method ProjectComment.UpdateComment should be of the form "UpdateComment ..." (golint)
    • Line 487: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 499: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 503: warning: comment on exported method ProjectComment.SetObjinfo should be of the form "SetObjinfo ..." (golint)
    • Line 504: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 522: warning: comment on exported type ProjectLike should be of the form "ProjectLike ..." (with optional leading article) (golint)
    • Line 525: warning: comment on exported method ProjectLike.UpdateLike should be of the form "UpdateLike ..." (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 535: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/app/article.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 19: warning: exported type ArticleController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method ArticleController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/morning_reading.go
    • Line 17: warning: exported const RtypeGo should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported type MorningReading should be of the form "MorningReading ..." (with optional leading article) (golint)
    • Line 39: warning: exported method MorningReading.AfterSet should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/install.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported type InstallLogic should have comment or be unexported (golint)
    • Line 16: warning: exported var DefaultInstall should have comment or be unexported (golint)
    • Line 18: warning: exported method InstallLogic.CreateTable should have comment or be unexported (golint)
    • Line 86: warning: exported method InstallLogic.IsTableExist should have comment or be unexported (golint)
    • studygolang/logic/message.go
    • Line 16: warning: should not use dot imports (golint)
    • Line 25: warning: exported type MessageLogic should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultMessage 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 411: warning: exported method MessageLogic.SysMsgCount should have comment or be unexported (golint)
    • Line 416: warning: exported method MessageLogic.FindMsgById should have comment or be unexported (golint)
    • Line 432: warning: comment on exported method MessageLogic.FindToMsgsByUid should be of the form "FindToMsgsByUid ..." (golint)
    • Line 433: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 469: warning: exported method MessageLogic.ToMsgCount should have comment or be unexported (golint)
    • Line 474: warning: comment on exported method MessageLogic.FindFromMsgsByUid should be of the form "FindFromMsgsByUid ..." (golint)
    • Line 498: warning: exported method MessageLogic.FromMsgCount should have comment or be unexported (golint)
    • studygolang/util/file.go
    • Line 13: warning: comment on exported function Exist should be of the form "Exist ..." (golint)
    • Line 20: warning: comment on exported function ScanDir should be of the form "ScanDir ..." (golint)
    • Line 34: warning: comment on exported function IsDir should be of the form "IsDir ..." (golint)
    • Line 40: warning: comment on exported function IsFile should be of the form "IsFile ..." (golint)
    • studygolang/http/controller/admin/metrics.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 30: warning: exported type MetricsController should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method MetricsController.RegisterRoute should be of the form "RegisterRoute ..." (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 38: warning: exported method MetricsController.DebugExpvar 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 52: warning: exported method MetricsController.IsOnline 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 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/middleware/logger.go
    • Line 13: warning: exported const HeaderKey should have comment or be unexported (golint)
    • Line 15: warning: exported type LoggerConfig should have comment or be unexported (golint)
    • Line 22: warning: exported var DefaultLoggerConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function EchoLogger should have comment or be unexported (golint)
    • Line 84: warning: should not use basic type string as key in context.WithValue (golint)
    • studygolang/logic/friend_link.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 17: warning: exported type FriendLinkLogic should have comment or be unexported (golint)
    • Line 19: warning: exported var DefaultFriendLink should have comment or be unexported (golint)
    • Line 21: warning: exported method FriendLinkLogic.FindAll should have comment or be unexported (golint)
    • studygolang/logic/learning_material.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 17: warning: exported type LearningMaterialLogic should have comment or be unexported (golint)
    • Line 19: warning: exported var DefaultLearningMaterial should have comment or be unexported (golint)
    • Line 21: warning: exported method LearningMaterialLogic.FindAll should have comment or be unexported (golint)
    • studygolang/logic/topic_node.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 19: warning: exported type TopicNodeLogic should have comment or be unexported (golint)
    • Line 21: warning: exported var DefaultNode should have comment or be unexported (golint)
    • Line 23: warning: exported method TopicNodeLogic.FindOne should have comment or be unexported (golint)
    • Line 23: 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 TopicNodeLogic.FindByEname 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 43: warning: exported method TopicNodeLogic.FindByNids should have comment or be unexported (golint)
    • Line 43: 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 TopicNodeLogic.FindByParent 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 63: warning: exported method TopicNodeLogic.FindAll 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 73: warning: exported method TopicNodeLogic.Modify should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported method TopicNodeLogic.ModifySeq should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported method TopicNodeLogic.FindParallelTree should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/gift.go
    • Line 16: warning: exported const GiftStateOnline should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported var GiftTypeMap should have comment or be unexported (golint)
    • Line 28: warning: exported type Gift should have comment or be unexported (golint)
    • Line 45: warning: exported method Gift.AfterSet 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 51: warning: exported type GiftRedeem should have comment or be unexported (golint)
    • Line 60: warning: exported type UserExchangeRecord should have comment or be unexported (golint)
    • studygolang/http/controller/admin/project.go
    • Line 20: warning: exported type ProjectController should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method ProjectController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: comment on exported method ProjectController.ProjectQuery should be of the form "ProjectQuery ..." (golint)
    • Line 72: warning: comment on exported method ProjectController.CrawlProject should be of the form "CrawlProject ..." (golint)
    • Line 96: warning: comment on exported method ProjectController.Modify should be of the form "Modify ..." (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/resource.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 32: warning: exported type ResourceController should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method ResourceController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/ad.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 17: warning: exported type AdLogic should have comment or be unexported (golint)
    • Line 19: warning: exported var DefaultAd should have comment or be unexported (golint)
    • Line 21: warning: exported method AdLogic.FindAll should have comment or be unexported (golint)
    • studygolang/model/document.go
    • Line 18: warning: comment on exported type Document should be of the form "Document ..." (with optional leading article) (golint)
    • Line 50: warning: exported function NewDocument should have comment or be unexported (golint)
    • Line 213: warning: comment on exported function FilterTxt should be of the form "FilterTxt ..." (golint)
    • Line 224: warning: exported type AddCommand should have comment or be unexported (golint)
    • Line 231: warning: exported function NewDefaultArgsAddCommand should have comment or be unexported (golint)
    • Line 235: warning: exported function NewAddCommand should have comment or be unexported (golint)
    • Line 244: warning: exported type DelCommand should have comment or be unexported (golint)
    • Line 248: warning: exported function NewDelCommand should have comment or be unexported (golint)
    • Line 252: warning: exported type ResponseBody should have comment or be unexported (golint)
    • Line 258: warning: exported type Highlighting should have comment or be unexported (golint)
    • Line 263: warning: exported type SearchResponse should have comment or be unexported (golint)
    • studygolang/http/controller/admin/article.go
    • Line 21: warning: exported type ArticleController should have comment or be unexported (golint)
    • Line 23: warning: comment on exported method ArticleController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: comment on exported method ArticleController.ArticleQuery should be of the form "ArticleQuery ..." (golint)
    • Line 75: warning: comment on exported method ArticleController.CrawlArticle should be of the form "CrawlArticle ..." (golint)
    • Line 114: warning: comment on exported method ArticleController.Publish should be of the form "Publish ..." (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: comment on exported method ArticleController.Modify should be of the form "Modify ..." (golint)
    • Line 135: 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)
    • studygolang/http/controller/top.go
    • Line 17: warning: exported type TopController should have comment or be unexported (golint)
    • Line 19: warning: comment on exported method TopController.RegisterRoute should be of the form "RegisterRoute ..." (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 25: warning: exported method TopController.TopDAU should have comment or be unexported (golint)
    • Line 36: warning: exported method TopController.TopRich should have comment or be unexported (golint)
    • studygolang/logic/topic.go
    • Line 19: warning: should not use dot imports (golint)
    • Line 29: warning: exported type TopicLogic should have comment or be unexported (golint)
    • Line 31: warning: exported var DefaultTopic 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 184: 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 254: 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)
    • Line 303: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 322: warning: exported method TopicLogic.FindLastList should have comment or be unexported (golint)
    • Line 331: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 376: warning: exported method TopicLogic.FindFullinfoByTids should have comment or be unexported (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 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 448: warning: comment on exported method TopicLogic.FindByPage should be of the form "FindByPage ..." (golint)
    • Line 477: warning: exported method TopicLogic.FindAppend should have comment or be unexported (golint)
    • Line 634: warning: exported method TopicLogic.Count should have comment or be unexported (golint)
    • Line 678: warning: comment on exported type TopicComment should be of the form "TopicComment ..." (with optional leading article) (golint)
    • Line 683: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 711: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 715: warning: comment on exported method TopicComment.SetObjinfo should be of the form "SetObjinfo ..." (golint)
    • Line 716: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 738: warning: comment on exported type TopicLike should be of the form "TopicLike ..." (with optional leading article) (golint)
    • Line 741: warning: comment on exported method TopicLike.UpdateLike should be of the form "UpdateLike ..." (golint)
    • Line 743: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 751: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/view_record.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 18: warning: exported type ViewRecordLogic should have comment or be unexported (golint)
    • Line 20: warning: exported var DefaultViewRecord should have comment or be unexported (golint)
    • Line 22: warning: exported method ViewRecordLogic.Record should have comment or be unexported (golint)
    • Line 48: warning: exported method ViewRecordLogic.FindUserNum should have comment or be unexported (golint)
    • studygolang/model/wechat.go
    • Line 13: warning: comment on exported type WechatUser should be of the form "WechatUser ..." (with optional leading article) (golint)
    • Line 27: warning: exported const AutoReplyTypWord should have comment (or a comment on this block) or be unexported (golint)
    • studygolang/model/mission.go
    • Line 12: warning: exported const MissionTypeLogin should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: comment on exported const MissionTypeReply should be of the form "MissionTypeReply ..." (golint)
    • Line 19: warning: comment on exported const MissionTypeTopic should be of the form "MissionTypeTopic ..." (golint)
    • Line 28: warning: comment on exported const MissionTypeTop should be of the form "MissionTypeTop ..." (golint)
    • Line 32: warning: comment on exported const MissionTypeReplied should be of the form "MissionTypeReplied ..." (golint)
    • Line 34: warning: comment on exported const MissionTypeAward should be of the form "MissionTypeAward ..." (golint)
    • Line 36: warning: comment on exported const MissionTypeActive should be of the form "MissionTypeActive ..." (golint)
    • Line 39: warning: comment on exported const MissionTypeGift should be of the form "MissionTypeGift ..." (golint)
    • Line 42: warning: comment on exported const MissionTypePunish should be of the form "MissionTypePunish ..." (golint)
    • Line 44: warning: comment on exported const MissionTypeSpam should be of the form "MissionTypeSpam ..." (golint)
    • Line 49: warning: exported const InitialMissionId should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type Mission should have comment or be unexported (golint)
    • Line 64: warning: exported type UserLoginMission should have comment or be unexported (golint)
    • studygolang/echoutils/echoutils.go
    • Line 26: warning: comment on exported function IsAsync should be of the form "IsAsync ..." (golint)
    • Line 31: warning: comment on exported function WrapEchoContext should be of the form "WrapEchoContext ..." (golint)
    • Line 45: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 48: warning: exported function LogFlush should have comment or be unexported (golint)
    • Line 54: warning: exported function Success should have comment or be unexported (golint)
    • Line 81: warning: exported function Fail should have comment or be unexported (golint)
    • Line 97: warning: exported function AsyncResponse should have comment or be unexported (golint)
    • studygolang/http/controller/comment.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 32: warning: exported type CommentController should have comment or be unexported (golint)
    • Line 34: warning: exported method CommentController.RegisterRoute 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 70: warning: comment on exported method CommentController.Modify should be of the form "Modify ..." (golint)
    • Line 135: warning: exported method CommentController.TopicDetail should have comment or be unexported (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: exported method CommentController.ArticleDetail should have comment or be unexported (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/sidebar.go
    • Line 23: warning: comment on exported type SidebarController should be of the form "SidebarController ..." (with optional leading article) (golint)
    • Line 26: warning: exported method SidebarController.RegisterRoute 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)
    • studygolang/http/controller/app/resource.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 19: warning: exported type ResourceController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method ResourceController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/comment.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 29: warning: exported type CommentLogic should have comment or be unexported (golint)
    • Line 31: warning: exported var DefaultComment 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 67: warning: exported const CommentPerNum should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 155: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 331: warning: exported method CommentLogic.FindById should have comment or be unexported (golint)
    • Line 376: warning: comment on exported type CommentObjecter should be of the form "CommentObjecter ..." (with optional leading article) (golint)
    • Line 385: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 455: warning: comment on exported type CommentLike should be of the form "CommentLike ..." (with optional leading article) (golint)
    • Line 458: warning: comment on exported method CommentLike.UpdateLike should be of the form "UpdateLike ..." (golint)
    • Line 460: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 468: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/reddit.go
    • Line 7: warning: package comment should be of the form "Package logic ..." (golint)
    • Line 19: warning: should not use dot imports (golint)
    • Line 28: warning: exported type RedditLogic should have comment or be unexported (golint)
    • Line 33: warning: exported var DefaultReddit should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 92: warning: exported var PresetUids 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)
    • studygolang/logic/book.go
    • Line 28: warning: exported const WsMsgNotify should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported const MessageQueueLen should have comment or be unexported (golint)
    • Line 34: warning: exported type Message should have comment or be unexported (golint)
    • Line 39: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 46: warning: exported type UserData should have comment or be unexported (golint)
    • Line 55: warning: exported method UserData.Len should have comment or be unexported (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 61: warning: exported method UserData.MessageQueue should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: exported method UserData.Remove should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method UserData.InitMessageQueue should have comment or be unexported (golint)
    • Line 73: 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 UserData.SendMessage 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 95: warning: comment on exported type LoginUser should be of the form "LoginUser ..." (with optional leading article) (golint)
    • Line 101: warning: exported type LoginUserSlice should have comment or be unexported (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: comment on exported var Book should be of the form "Book ..." (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 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: 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 251: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 257: 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 285: 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 319: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 331: 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: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 377: warning: comment on exported function MaxOnlineNum should be of the form "MaxOnlineNum ..." (golint)
    • studygolang/global/app.go
    • Line 40: warning: exported const DefaultCDNHttp should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported var Build should have comment or be unexported (golint)
    • Line 74: warning: exported var App should have comment or be unexported (golint)
    • Line 79: warning: exported const DEV should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: 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 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported function PrintVersion should have comment or be unexported (golint)
    • Line 153: warning: exported function OnlineEnv should have comment or be unexported (golint)
    • studygolang/http/controller/reading.go
    • Line 20: warning: exported type ReadingController should have comment or be unexported (golint)
    • Line 22: warning: comment on exported method ReadingController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • studygolang/cmd/server.go
    • Line 28: warning: exported function IndexingServer should have comment or be unexported (golint)
    • Line 62: warning: exported function CrawlServer should have comment or be unexported (golint)
    • studygolang/logic/wechat.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 33: warning: exported type WechatLogic should have comment or be unexported (golint)
    • Line 35: warning: exported var DefaultWechat should have comment or be unexported (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 83: warning: exported method WechatLogic.Bind 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 103: warning: exported method WechatLogic.FetchOrUpdateToken should have comment or be unexported (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: exported method WechatLogic.AutoReply should have comment or be unexported (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 221: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: exported method WechatLogic.CheckCaptchaAndActivate should have comment or be unexported (golint)
    • Line 232: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 263: warning: exported method WechatLogic.CheckCaptchaAndBind should have comment or be unexported (golint)
    • Line 263: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 308: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 355: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 367: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 379: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 391: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 403: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 415: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 445: 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)
    • studygolang/db/conn.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 16: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 21: warning: exported var MasterDB should have comment or be unexported (golint)
    • Line 46: warning: error var ConnectDBErr should have name of the form ErrFoo (golint)
    • Line 46: warning: exported var ConnectDBErr should have comment or be unexported (golint)
    • Line 47: warning: error var UseDBErr should have name of the form ErrFoo (golint)
    • Line 94: warning: exported function Init should have comment or be unexported (golint)
    • Line 149: warning: exported function StdMasterDB should have comment or be unexported (golint)
    • studygolang/http/controller/admin/tool.go
    • Line 15: warning: exported type ToolController should have comment or be unexported (golint)
    • Line 17: warning: comment on exported method ToolController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 18: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 22: warning: comment on exported method ToolController.GenSitemap should be of the form "GenSitemap ..." (golint)
    • studygolang/util/http.go
    • Line 40: warning: exported const XRequestedWith should have comment or be unexported (golint)
    • Line 42: warning: exported function IsAjax should have comment or be unexported (golint)
    • Line 49: warning: exported function DoGet should have comment or be unexported (golint)
    • Line 91: warning: exported function DoPost should have comment or be unexported (golint)
    • Line 137: warning: exported function DoPostRaw should have comment or be unexported (golint)
    • studygolang/http/controller/user.go
    • Line 22: warning: exported type UserController should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method UserController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: exported method UserController.Topics should have comment or be unexported (golint)
    • Line 142: warning: exported method UserController.Articles should have comment or be unexported (golint)
    • Line 166: warning: exported method UserController.Resources should have comment or be unexported (golint)
    • Line 189: warning: exported method UserController.Projects should have comment or be unexported (golint)
    • Line 212: warning: exported method UserController.Comments should have comment or be unexported (golint)
    • studygolang/model/feed.go
    • Line 17: warning: exported const FeedOffline should have comment or be unexported (golint)
    • Line 19: warning: exported type Feed should have comment or be unexported (golint)
    • studygolang/global/chan.go
    • Line 9: warning: exported var AuthorityChan should have comment or be unexported (golint)
    • Line 10: warning: exported var RoleChan should have comment or be unexported (golint)
    • Line 11: warning: exported var RoleAuthChan should have comment or be unexported (golint)
    • Line 12: warning: exported var UserSettingChan should have comment or be unexported (golint)
    • Line 13: warning: exported var TopicNodeChan should have comment or be unexported (golint)
    • studygolang/http/controller/admin/node.go
    • Line 19: warning: exported type NodeController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method NodeController.RegisterRoute should be of the form "RegisterRoute ..." (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 53: warning: exported method NodeController.Modify should have comment or be unexported (golint)
    • Line 89: warning: exported method NodeController.ModifySeq should have comment or be unexported (golint)
    • studygolang/http/controller/admin/setting.go
    • Line 16: warning: exported type SettingController should have comment or be unexported (golint)
    • Line 18: warning: comment on exported method SettingController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 19: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 41: 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 SettingController.IndexTabChildren 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)
    • studygolang/middleware/stats.go
    • Line 12: warning: exported type Stats should have comment or be unexported (golint)
    • Line 19: warning: exported function NewStats should have comment or be unexported (golint)
    • Line 26: warning: exported method Stats.Process should have comment or be unexported (golint)
    • studygolang/http/controller/gctt.go
    • Line 19: warning: should not use dot imports (golint)
    • Line 31: warning: exported type GCTTController should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method GCTTController.RegisterRoute should be of the form "RegisterRoute ..." (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 45: warning: exported method GCTTController.Index 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 118: warning: exported method GCTTController.User should have comment or be unexported (golint)
    • Line 142: warning: exported method GCTTController.UserList should have comment or be unexported (golint)
    • Line 161: warning: exported method GCTTController.IssueList should have comment or be unexported (golint)
    • Line 200: warning: exported method GCTTController.Webhook should have comment or be unexported (golint)
    • studygolang/logic/article.go
    • Line 32: warning: should not use dot imports (golint)
    • Line 37: warning: exported type ArticleLogic should have comment or be unexported (golint)
    • Line 39: warning: exported var DefaultArticle should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 271: warning: exported method ArticleLogic.ParseZhihuArticle should have comment or be unexported (golint)
    • Line 271: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 330: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 427: warning: exported method ArticleLogic.PublishFromAdmin should have comment or be unexported (golint)
    • Line 427: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 511: warning: exported method ArticleLogic.FindLastList should have comment or be unexported (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 560: warning: exported method ArticleLogic.FindTaGCTTArticles should have comment or be unexported (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 593: warning: exported method ArticleLogic.FindByUser should have comment or be unexported (golint)
    • Line 593: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 606: warning: exported method ArticleLogic.SearchMyArticles should have comment or be unexported (golint)
    • Line 606: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 652: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 672: warning: exported method ArticleLogic.Count should have comment or be unexported (golint)
    • Line 693: warning: comment on exported method ArticleLogic.FindArticleByPage should be of the form "FindArticleByPage ..." (golint)
    • Line 723: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 741: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 868: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 880: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1008: warning: exported method ArticleLogic.FindArticleGCTT should have comment or be unexported (golint)
    • Line 1105: warning: comment on exported type ArticleComment should be of the form "ArticleComment ..." (with optional leading article) (golint)
    • Line 1110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1148: warning: comment on exported type ArticleLike should be of the form "ArticleLike ..." (with optional leading article) (golint)
    • Line 1151: warning: comment on exported method ArticleLike.UpdateLike should be of the form "UpdateLike ..." (golint)
    • Line 1153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/rule.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 17: warning: exported type RuleLogic should have comment or be unexported (golint)
    • Line 19: warning: exported var DefaultRule should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method RuleLogic.FindBy should be of the form "FindBy ..." (golint)
    • Line 50: warning: exported method RuleLogic.FindById should have comment or be unexported (golint)
    • Line 67: warning: exported method RuleLogic.Save should have comment or be unexported (golint)
    • Line 95: warning: exported method RuleLogic.Delete should have comment or be unexported (golint)
    • studygolang/model/github_user.go
    • Line 13: warning: exported type GithubUser should have comment or be unexported (golint)
    • Line 24: warning: exported type GiteaUser should have comment or be unexported (golint)
    • Line 26: warning: exported function DisplayName should have comment or be unexported (golint)
    • studygolang/model/openproject.go
    • Line 17: warning: exported const ProjectStatusNew should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: comment on exported type OpenProject should be of the form "OpenProject ..." (with optional leading article) (golint)
    • Line 56: warning: exported method OpenProject.BeforeInsert 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 OpenProject.AfterInsert 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 77: warning: exported method OpenProject.AfterSet should have comment or be unexported (golint)
    • Line 77: 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 OpenProject.AfterLoad 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)
    • studygolang/http/controller/admin/topic.go
    • Line 19: warning: exported type TopicController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method TopicController.RegisterRoute should be of the form "RegisterRoute ..." (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 48: warning: comment on exported method TopicController.Query should be of the form "Query ..." (golint)
    • Line 70: warning: comment on exported method TopicController.Modify should be of the form "Modify ..." (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/wiki.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 30: warning: exported type WikiController should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method WikiController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/authority.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 21: warning: exported type AuthorityLogic should have comment or be unexported (golint)
    • Line 23: warning: exported var DefaultAuthority 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 63: warning: comment on exported method AuthorityLogic.GetMenus should be of the form "GetMenus ..." (golint)
    • Line 85: warning: comment on exported method AuthorityLogic.GeneralAuthorities should be of the form "GeneralAuthorities ..." (golint)
    • Line 100: warning: comment on exported method AuthorityLogic.HasAuthority should be of the form "HasAuthority ..." (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: exported method AuthorityLogic.FindAuthoritiesByPage should have comment or be unexported (golint)
    • Line 154: warning: exported method AuthorityLogic.FindById should have comment or be unexported (golint)
    • Line 171: warning: exported method AuthorityLogic.Save should have comment or be unexported (golint)
    • Line 201: warning: exported method AuthorityLogic.Del should have comment or be unexported (golint)
    • studygolang/http/controller/app/project.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 19: warning: exported type ProjectController should have comment or be unexported (golint)
    • Line 21: warning: comment on exported method ProjectController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 22: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/gctt.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 17: warning: exported type GCTTLogic should have comment or be unexported (golint)
    • Line 19: warning: exported var DefaultGCTT should have comment or be unexported (golint)
    • Line 21: warning: exported method GCTTLogic.FindTranslator should have comment or be unexported (golint)
    • Line 21: 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 GCTTLogic.FindOne 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 47: warning: exported method GCTTLogic.BindUser should have comment or be unexported (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 72: warning: exported method GCTTLogic.FindCoreUsers 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 84: warning: exported method GCTTLogic.FindUsers 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 96: warning: exported method GCTTLogic.FindUnTranslateIssues 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 110: warning: exported method GCTTLogic.FindIssues 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 133: warning: exported method GCTTLogic.IssueCount 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 153: warning: exported method GCTTLogic.FindNewestGit should have comment or be unexported (golint)
    • Line 153: 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 GCTTLogic.FindTimeLines 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)
    • studygolang/logic/like.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 21: warning: exported type LikeLogic should have comment or be unexported (golint)
    • Line 23: warning: exported var DefaultLike should have comment or be unexported (golint)
    • Line 175: warning: comment on exported type Liker should be of the form "Liker ..." (with optional leading article) (golint)
    • Line 182: warning: comment on exported function RegisterLikeObject should be of the form "RegisterLikeObject ..." (golint)
    • studygolang/http/controller/favorite.go
    • Line 23: warning: exported type FavoriteController should have comment or be unexported (golint)
    • Line 25: warning: comment on exported method FavoriteController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/common.go
    • Line 36: warning: error var NotModifyAuthorityErr should have name of the form ErrFoo (golint)
    • Line 36: warning: exported var NotModifyAuthorityErr should have comment or be unexported (golint)
    • Line 37: warning: error var NotFoundErr should have name of the form ErrFoo (golint)
    • Line 40: warning: exported function GetLogger should have comment or be unexported (golint)
    • Line 191: warning: exported function CanPublish should have comment or be unexported (golint)
    • studygolang/logic/view_source.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 20: warning: exported type ViewSourceLogic should have comment or be unexported (golint)
    • Line 22: warning: exported var DefaultViewSource should have comment or be unexported (golint)
    • studygolang/http/controller/admin/authority.go
    • Line 18: warning: exported type AuthorityController should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method AuthorityController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method AuthorityController.AuthQuery should have comment or be unexported (golint)
    • studygolang/http/controller/admin/user.go
    • Line 18: warning: exported type UserController should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method UserController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method UserController.UserQuery should have comment or be unexported (golint)
    • Line 63: warning: exported method UserController.Detail should have comment or be unexported (golint)
    • Line 73: warning: exported method UserController.Modify should have comment or be unexported (golint)
    • Line 86: warning: exported method UserController.AddBlack should have comment or be unexported (golint)
    • studygolang/middleware/cache.go
    • Line 14: warning: exported type CacheKeyAlgorithm should have comment or be unexported (golint)
    • Line 18: warning: exported type CacheKeyFunc should have comment or be unexported (golint)
    • Line 20: warning: exported method CacheKeyFunc.GenCacheKey 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 24: warning: exported var CacheKeyAlgorithmMap should have comment or be unexported (golint)
    • Line 26: warning: exported var LruCache should have comment or be unexported (golint)
    • studygolang/http/controller/other.go
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 28: warning: exported method OtherController.Any should have comment or be unexported (golint)
    • studygolang/logic/resource.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 23: warning: exported type ResourceLogic should have comment or be unexported (golint)
    • Line 25: warning: exported var DefaultResource should have comment or be unexported (golint)
    • Line 156: 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 ResourceLogic.Count should have comment or be unexported (golint)
    • Line 321: warning: comment on exported method ResourceLogic.FindById should be of the form "FindById ..." (golint)
    • Line 359: warning: comment on exported method ResourceLogic.FindResource should be of the form "FindResource ..." (golint)
    • Line 372: warning: comment on exported method ResourceLogic.FindRecent should be of the form "FindRecent ..." (golint)
    • Line 395: warning: comment on exported type ResourceComment should be of the form "ResourceComment ..." (with optional leading article) (golint)
    • Line 398: warning: comment on exported method ResourceComment.UpdateComment should be of the form "UpdateComment ..." (golint)
    • Line 400: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 428: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 432: warning: comment on exported method ResourceComment.SetObjinfo should be of the form "SetObjinfo ..." (golint)
    • Line 433: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 451: warning: comment on exported type ResourceLike should be of the form "ResourceLike ..." (with optional leading article) (golint)
    • Line 454: warning: comment on exported method ResourceLike.UpdateLike should be of the form "UpdateLike ..." (golint)
    • Line 456: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 464: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/uploader.go
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 28: warning: should not use dot imports (golint)
    • Line 41: warning: exported const MaxImageSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: comment on exported type UploaderLogic should be of the form "UploaderLogic ..." (with optional leading article) (golint)
    • Line 53: warning: exported var DefaultUploader should have comment or be unexported (golint)
    • Line 55: warning: exported method UploaderLogic.InitQiniu should have comment or be unexported (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 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: 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 160: warning: exported method UploaderLogic.UploadImage should have comment or be unexported (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 185: 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 263: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/type.go
    • Line 14: warning: exported type OftenTime should have comment or be unexported (golint)
    • Line 16: warning: exported function NewOftenTime should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: exported method OftenTime.MarshalBinary should have comment or be unexported (golint)
    • Line 29: 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 OftenTime.MarshalJSON 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 44: warning: exported method OftenTime.MarshalText 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 48: warning: exported method OftenTime.UnmarshalBinary 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 53: warning: exported method OftenTime.UnmarshalJSON 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 73: warning: exported method OftenTime.UnmarshalText should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/website_setting.go
    • Line 18: warning: exported type DocMenu should have comment or be unexported (golint)
    • Line 23: warning: exported type FriendLogo should have comment or be unexported (golint)
    • Line 31: warning: exported type FooterNav should have comment or be unexported (golint)
    • Line 38: warning: exported const TabRecommend should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type IndexNav should have comment or be unexported (golint)
    • Line 49: warning: exported type IndexNavChild should have comment or be unexported (golint)
    • Line 83: warning: exported var WebsiteSetting should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: 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 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/http.go
    • Line 34: warning: exported var Store should have comment or be unexported (golint)
    • Line 36: warning: exported function SetLoginCookie should have comment or be unexported (golint)
    • Line 53: warning: exported function SetCookie should have comment or be unexported (golint)
    • Line 63: warning: exported function GetFromCookie should have comment or be unexported (golint)
    • Line 72: warning: comment on exported function GetCookieSession should be of the form "GetCookieSession ..." (golint)
    • Line 78: warning: exported function Request should have comment or be unexported (golint)
    • Line 82: warning: exported function ResponseWriter should have comment or be unexported (golint)
    • Line 218: warning: exported const LayoutTpl should have comment (or a comment on this block) or be unexported (golint)
    • Line 324: warning: comment on exported function RenderQuery should be of the form "RenderQuery ..." (golint)
    • Line 425: warning: exported function CheckIsHttps should have comment or be unexported (golint)
    • Line 437: warning: exported const TokenSalt should have comment (or a comment on this block) or be unexported (golint)
    • Line 441: warning: exported function ParseToken should have comment or be unexported (golint)
    • Line 453: warning: exported function ValidateToken should have comment or be unexported (golint)
    • Line 466: warning: exported function GenToken should have comment or be unexported (golint)
    • Line 477: warning: exported function AccessControl should have comment or be unexported (golint)
    • studygolang/http/controller/websocket.go
    • Line 21: warning: exported type WebsocketController should have comment or be unexported (golint)
    • Line 25: warning: exported method WebsocketController.RegisterRoute should have comment or be unexported (golint)
    • Line 25: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 29: warning: comment on exported method WebsocketController.Ws should be of the form "Ws ..." (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/like.go
    • Line 12: warning: exported const FlagCancel should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: comment on exported type Like should be of the form "Like ..." (with optional leading article) (golint)
    • Line 26: warning: exported method Like.TableName should have comment or be unexported (golint)
    • studygolang/http/controller/book.go
    • Line 17: warning: should not use dot imports (golint)
    • Line 30: warning: exported type BookController should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method BookController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/auto_crawl.go
    • Line 20: warning: should not use dot imports (golint)
    • Line 32: warning: exported type AutoCrawlLogic should have comment or be unexported (golint)
    • Line 34: warning: exported var DefaultAutoCrawl should have comment or be unexported (golint)
    • Line 36: warning: exported method AutoCrawlLogic.DoCrawl 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 51: warning: comment on exported method AutoCrawlLogic.CrawlWebsite should be of the form "CrawlWebsite ..." (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 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 210: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/dynamic.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 19: warning: exported type DynamicLogic should have comment or be unexported (golint)
    • Line 21: warning: exported var DefaultDynamic should have comment or be unexported (golint)
    • studygolang/logic/observer.go
    • Line 20: warning: exported var ViewObservable should have comment or be unexported (golint)
    • Line 63: warning: exported type Observer should have comment or be unexported (golint)
    • Line 67: warning: exported type Observable should have comment or be unexported (golint)
    • Line 86: warning: exported type ConcreteObservable should have comment or be unexported (golint)
    • Line 91: warning: exported function NewConcreteObservable should have comment or be unexported (golint)
    • Line 98: warning: exported method ConcreteObservable.AddObserver should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: exported method ConcreteObservable.RemoveObserver should have comment or be unexported (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 119: warning: exported method ConcreteObservable.NotifyObservers should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: exported type UserWeightObserver should have comment or be unexported (golint)
    • Line 129: warning: exported method UserWeightObserver.Update should have comment or be unexported (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: exported type TodayActiveObserver should have comment or be unexported (golint)
    • Line 157: warning: exported method TodayActiveObserver.Update should have comment or be unexported (golint)
    • Line 187: warning: exported type UserRichObserver should have comment or be unexported (golint)
    • Line 417: warning: exported type FeedSeqObserver should have comment or be unexported (golint)
    • Line 419: warning: exported method FeedSeqObserver.Update should have comment or be unexported (golint)
    • Line 419: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/searcher.go
    • Line 18: warning: should not use dot imports (golint)
    • Line 29: warning: exported type SearcherLogic should have comment or be unexported (golint)
    • Line 35: warning: exported var DefaultSearcher should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method SearcherLogic.Indexing should be of the form "Indexing ..." (golint)
    • Line 39: 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 104: warning: comment on exported method SearcherLogic.IndexingTopic should be of the form "IndexingTopic ..." (golint)
    • Line 105: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: comment on exported method SearcherLogic.IndexingResource should be of the form "IndexingResource ..." (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 248: 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 412: warning: comment on exported method SearcherLogic.SearchByField should be of the form "SearchByField ..." (golint)
    • Line 413: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 455: warning: exported method SearcherLogic.FindAtomFeeds should have comment or be unexported (golint)
    • Line 455: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 488: warning: exported method SearcherLogic.FillNodeAndUser should have comment or be unexported (golint)
    • Line 488: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 515: warning: exported type SolrClient should have comment or be unexported (golint)
    • Line 520: warning: exported function NewSolrClient should have comment or be unexported (golint)
    • Line 527: warning: exported method SolrClient.PushAdd should have comment or be unexported (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 531: warning: exported method SolrClient.PushDel should have comment or be unexported (golint)
    • Line 531: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 535: warning: exported method SolrClient.Post should have comment or be unexported (golint)
    • Line 535: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/logic/third_user.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 27: warning: exported const GithubAPIBaseUrl should have comment or be unexported (golint)
    • Line 28: warning: exported const GiteaAPIBaseUrl should have comment or be unexported (golint)
    • Line 51: warning: exported type ThirdUserLogic should have comment or be unexported (golint)
    • Line 53: warning: exported var DefaultThirdUser should have comment or be unexported (golint)
    • Line 55: warning: exported method ThirdUserLogic.GithubAuthCodeUrl should have comment or be unexported (golint)
    • Line 62: warning: exported method ThirdUserLogic.LoginFromGithub should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 159: warning: exported method ThirdUserLogic.BindGithub should have comment or be unexported (golint)
    • Line 159: 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 ThirdUserLogic.GiteaAuthCodeUrl should have comment or be unexported (golint)
    • Line 222: warning: exported method ThirdUserLogic.LoginFromGitea 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 319: warning: exported method ThirdUserLogic.BindGitea should have comment or be unexported (golint)
    • Line 319: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 375: warning: exported method ThirdUserLogic.UnBindUser should have comment or be unexported (golint)
    • studygolang/logic/view.go
    • Line 16: warning: should not use dot imports (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 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: exported var Views should have comment or be unexported (golint)
    • studygolang/model/role.go
    • Line 9: warning: comment on exported const AdminMinRoleId should be of the form "AdminMinRoleId ..." (golint)
    • Line 15: warning: exported const AssistantMaster should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported type Role should be of the form "Role ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported type RoleAuthority should be of the form "RoleAuthority ..." (with optional leading article) (golint)
    • studygolang/http/controller/app/index.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 18: warning: exported type IndexController should have comment or be unexported (golint)
    • Line 20: warning: comment on exported method IndexController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/model/message.go
    • Line 16: warning: exported const FdelNotDel should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported const MsgtypeTopicReply should be of the form "MsgtypeTopicReply ..." (golint)
    • Line 41: warning: exported const MsgtypeArticleComment should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: comment on exported type SystemMessage should be of the form "SystemMessage ..." (with optional leading article) (golint)
    • Line 64: warning: exported method SystemMessage.GetExt 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 73: warning: exported method SystemMessage.SetExt should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/download.go
    • Line 24: warning: exported const GoStoragePrefix should have comment or be unexported (golint)
    • Line 26: warning: exported type DownloadController should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method DownloadController.RegisterRoute should be of the form "RegisterRoute ..." (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method DownloadController.FetchGoInstallPackage should have comment or be unexported (golint)
    • Line 87: 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 DownloadController.AddNewDownload should have comment or be unexported (golint)
    • studygolang/http/controller/search.go
    • Line 13: warning: exported type SearchController should have comment or be unexported (golint)
    • Line 15: warning: comment on exported method SearchController.RegisterRoute should be of the form "RegisterRoute ..." (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 21: warning: comment on exported method SearchController.Search should be of the form "Search ..." (golint)
    • Line 46: warning: comment on exported method SearchController.TagList should be of the form "TagList ..." (golint)
    • studygolang/http/controller/subject.go
    • Line 15: warning: should not use dot imports (golint)
    • Line 24: warning: exported type SubjectController should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method SubjectController.RegisterRoute should be of the form "RegisterRoute ..." (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 39: warning: exported method SubjectController.Index should have comment or be unexported (golint)
    • Line 91: warning: exported method SubjectController.Follow should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: exported method SubjectController.MyArticles should have comment or be unexported (golint)
    • Line 103: 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 132: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • studygolang/http/controller/app/comment.go
    • Line 19: warning: exported type CommentController should have comment or be unexported (golint)
    • Line 21: warning: exported method CommentController.RegisterRoute should have comment or be unexported (golint)
    • Line 21: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)

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.


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.

    • studygolang/model/document.go
    • Line 65: warning: ineffectual assignment to sortTime (ineffassign)
    • Line 105: warning: ineffectual assignment to sortTime (ineffassign)
    • Line 143: warning: ineffectual assignment to sortTime (ineffassign)
    • Line 177: warning: ineffectual assignment to sortTime (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words