Preparing report...

Report for github.com/siongui/instago

A+    Excellent!    Found 51 issues across 111 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!


gocyclo99%

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.


golint56%

Golint is a linter for Go source code.

    • instago/download/downloadmanager.go
    • Line 11: warning: exported type IGDownloadManager should have comment or be unexported (golint)
    • Line 20: warning: comment on exported function NewInstagramDownloadManager should be of the form "NewInstagramDownloadManager ..." (golint)
    • Line 41: warning: exported method IGDownloadManager.GetSelfId should have comment or be unexported (golint)
    • Line 45: warning: exported method IGDownloadManager.LoadCollectionList should have comment or be unexported (golint)
    • Line 50: warning: exported method IGDownloadManager.GetReelsTray should have comment or be unexported (golint)
    • Line 54: warning: exported method IGDownloadManager.GetUserInfoEndPoint should have comment or be unexported (golint)
    • Line 58: warning: exported method IGDownloadManager.GetPostInfo should have comment or be unexported (golint)
    • Line 62: warning: exported method IGDownloadManager.GetAllPostMedia should have comment or be unexported (golint)
    • Line 66: warning: exported method IGDownloadManager.GetUserInfo should have comment or be unexported (golint)
    • Line 70: warning: exported method IGDownloadManager.GetUserStory should have comment or be unexported (golint)
    • Line 74: warning: exported method IGDownloadManager.GetUserReelMedia should have comment or be unexported (golint)
    • Line 78: warning: exported method IGDownloadManager.GetSavedPosts should have comment or be unexported (golint)
    • Line 82: warning: exported method IGDownloadManager.GetMultipleReelsMedia should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method IGDownloadManager.LoadCleanDownloadManager should be of the form "LoadCleanDownloadManager ..." (golint)
    • Line 95: warning: exported method IGDownloadManager.IsCleanAccountSet should have comment or be unexported (golint)
    • Line 99: warning: exported method IGDownloadManager.GetCleanAccountManager should have comment or be unexported (golint)
    • Line 103: warning: exported method IGDownloadManager.LoadIdUsernameFromDataDir should have comment or be unexported (golint)
    • instago/userstory.go
    • Line 12: warning: exported type UserTray should have comment or be unexported (golint)
    • Line 19: warning: exported method IGApiManager.GetUserStory should have comment or be unexported (golint)
    • instago/webqueryhash.go
    • Line 13: warning: exported method IGApiManager.GetWebQueryHash should have comment or be unexported (golint)
    • Line 43: warning: exported method IGApiManager.GetGetWebFeedReelsTrayUrl should have comment or be unexported (golint)
    • instago/download/reelmedia.go
    • Line 61: 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)
    • instago/timeline.go
    • Line 9: warning: exported type IGTimeline should have comment or be unexported (golint)
    • Line 19: warning: comment on exported method IGApiManager.GetTimeline should be of the form "GetTimeline ..." (golint)
    • Line 35: warning: comment on exported method IGApiManager.GetTimelineUntilPageN should be of the form "GetTimelineUntilPageN ..." (golint)
    • instago/typewebitem.go
    • Line 3: warning: exported type IGReelMediaItem should have comment or be unexported (golint)
    • Line 69: warning: exported method IGReelMediaItem.GetUsername should have comment or be unexported (golint)
    • Line 73: warning: exported method IGReelMediaItem.GetUserId should have comment or be unexported (golint)
    • Line 77: warning: exported method IGReelMediaItem.GetTimestamp should have comment or be unexported (golint)
    • Line 81: warning: exported method IGReelMediaItem.GetMediaUrl should have comment or be unexported (golint)
    • Line 93: warning: exported method IGReelMediaItem.GetStoryImageUrl should have comment or be unexported (golint)
    • Line 107: warning: exported method IGReelMediaItem.GetStoryVideoUrl should have comment or be unexported (golint)
    • instago/userstoryhighlight.go
    • Line 19: warning: comment on exported type IGStoryHighlightsTray should be of the form "IGStoryHighlightsTray ..." (with optional leading article) (golint)
    • Line 47: warning: exported method IGStoryHighlightsTray.GetTitle should have comment or be unexported (golint)
    • Line 51: warning: exported method IGStoryHighlightsTray.GetUsername should have comment or be unexported (golint)
    • Line 55: warning: exported method IGStoryHighlightsTray.GetItems should have comment or be unexported (golint)
    • Line 59: warning: comment on exported method IGApiManager.GetUserStoryHighlights should be of the form "GetUserStoryHighlights ..." (golint)
    • instago/download/checkzero.go
    • Line 12: warning: exported method IGDownloadManager.ReDownload should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method IGDownloadManager.CheckZero should be of the form "CheckZero ..." (golint)
    • instago/download/highlight.go
    • Line 9: warning: comment on exported method IGDownloadManager.DownloadUserStoryHighlightsByName should be of the form "DownloadUserStoryHighlightsByName ..." (golint)
    • Line 19: warning: comment on exported method IGDownloadManager.DownloadUserStoryHighlights should be of the form "DownloadUserStoryHighlights ..." (golint)
    • Line 32: warning: comment on exported method IGDownloadManager.DownloadStoryHighlights should be of the form "DownloadStoryHighlights ..." (golint)
    • instago/download/mvfiles.go
    • Line 13: warning: exported function IsOlderThanOneDay should have comment or be unexported (golint)
    • Line 17: warning: exported function GetTimeFromStoryFilename should have comment or be unexported (golint)
    • Line 46: warning: exported function MoveFileToDir should have comment or be unexported (golint)
    • Line 69: warning: exported function MoveExpiredStory should have comment or be unexported (golint)
    • instago/download/postlive.go
    • Line 23: warning: exported function DownloadPostLiveItem should have comment or be unexported (golint)
    • Line 96: warning: exported function DownloadPostLive should have comment or be unexported (golint)
    • instago/download/story.go
    • Line 28: warning: exported method IGDownloadManager.DownloadUserStory should have comment or be unexported (golint)
    • Line 32: warning: exported method IGDownloadManager.DownloadUserStoryByName should have comment or be unexported (golint)
    • Line 60: 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 82: warning: exported method IGDownloadManager.DownloadUserStoryByNameLayer should have comment or be unexported (golint)
    • Line 93: warning: exported method IGDownloadManager.DownloadUserStoryLayer should have comment or be unexported (golint)
    • instago/download/util.go
    • Line 10: warning: comment on exported function CreateDirIfNotExist should be of the form "CreateDirIfNotExist ..." (golint)
    • Line 18: warning: comment on exported function Wget should be of the form "Wget ..." (golint)
    • Line 38: warning: exported function IsCommandAvailable should have comment or be unexported (golint)
    • Line 46: warning: exported function FileToLines should have comment or be unexported (golint)
    • Line 61: warning: comment on exported function ExcludeCommentAndWhitespace should be of the form "ExcludeCommentAndWhitespace ..." (golint)
    • Line 78: warning: comment on exported function ReadNonCommentLines should be of the form "ReadNonCommentLines ..." (golint)
    • instago/filename.go
    • Line 13: warning: exported function BuildStoryFilename2 should have comment or be unexported (golint)
    • Line 28: warning: exported function BuildStoryFilename should have comment or be unexported (golint)
    • Line 32: warning: exported function BuildFilename should have comment or be unexported (golint)
    • Line 48: warning: exported function GetPostFilename should have comment or be unexported (golint)
    • Line 54: warning: exported function AppendTaggedUsersToFilename should have comment or be unexported (golint)
    • Line 131: warning: exported function ExtractPostCodeFromFilename should have comment or be unexported (golint)
    • Line 160: warning: exported function ExtractUsernameIdFromFilename should have comment or be unexported (golint)
    • instago/download/color.go
    • Line 14: warning: exported function CyanPrint should have comment or be unexported (golint)
    • Line 18: warning: exported function RedPrint should have comment or be unexported (golint)
    • Line 22: warning: exported function CyanPrintln should have comment or be unexported (golint)
    • Line 26: warning: exported function RedPrintln should have comment or be unexported (golint)
    • Line 30: warning: exported function SleepSecond should have comment or be unexported (golint)
    • Line 34: warning: exported function SleepLog should have comment or be unexported (golint)
    • Line 42: warning: exported function PrintMsgSleep should have comment or be unexported (golint)
    • Line 47: warning: exported function UsernameIdColorPrint should have comment or be unexported (golint)
    • Line 54: warning: exported function PrintUsernameIdMsg should have comment or be unexported (golint)
    • Line 59: warning: exported function PrintBestiesItemInfo should have comment or be unexported (golint)
    • Line 98: warning: exported function PrintReelMentionInfo should have comment or be unexported (golint)
    • Line 111: warning: exported function PrintTrayInfo should have comment or be unexported (golint)
    • Line 121: warning: exported function PrintTrayInfoMsg should have comment or be unexported (golint)
    • Line 127: warning: exported function PrintUserComment should have comment or be unexported (golint)
    • Line 132: warning: exported function PrintUserInfo should have comment or be unexported (golint)
    • Line 145: warning: exported function PrintItemInfo should have comment or be unexported (golint)
    • Line 167: warning: exported function PrintLiveBroadcasts should have comment or be unexported (golint)
    • Line 195: warning: exported function PrintPostLiveItem should have comment or be unexported (golint)
    • Line 203: warning: exported function PrintDownloadStoryLayerInfo should have comment or be unexported (golint)
    • instago/download/datasaver.go
    • Line 16: warning: comment on exported function SetSaveData should be of the form "SetSaveData ..." (golint)
    • Line 21: warning: comment on exported method IGDownloadManager.IdToUsername should be of the form "IdToUsername ..." (golint)
    • Line 30: warning: exported method IGDownloadManager.UsernameToUserFromLocalData should have comment or be unexported (golint)
    • Line 50: warning: exported method IGDownloadManager.UsernameToUser should have comment or be unexported (golint)
    • Line 75: warning: exported method IGDownloadManager.UsernameToId should have comment or be unexported (golint)
    • Line 144: warning: exported function BuildIdUsernameMapFromLocalData should have comment or be unexported (golint)
    • Line 173: warning: exported function FindIdFromUsernameInMap should have comment or be unexported (golint)
    • Line 185: warning: exported method IGDownloadManager.FindNewUsernameFromOldName should have comment or be unexported (golint)
    • instago/download/diffuser.go
    • Line 15: warning: comment on exported function DiffFollowUsers should be of the form "DiffFollowUsers ..." (golint)
    • Line 30: warning: comment on exported function DiffFollowData should be of the form "DiffFollowData ..." (golint)
    • Line 73: warning: exported function GetLatestFile should have comment or be unexported (golint)
    • Line 101: warning: exported function LoadLatestFollowingUsers should have comment or be unexported (golint)
    • instago/download/follow.go
    • Line 11: warning: exported method IGDownloadManager.GetSelfFollowers should have comment or be unexported (golint)
    • Line 15: warning: exported method IGDownloadManager.GetSelfFollowing should have comment or be unexported (golint)
    • Line 19: warning: exported method IGDownloadManager.SaveSelfFollowers should have comment or be unexported (golint)
    • Line 35: warning: exported method IGDownloadManager.SaveSelfFollowing should have comment or be unexported (golint)
    • Line 51: warning: comment on exported function LoadFollowUsers should be of the form "LoadFollowUsers ..." (golint)
    • Line 64: warning: comment on exported method IGDownloadManager.SaveSelfFollow should be of the form "SaveSelfFollow ..." (golint)
    • instago/reelstray.go
    • Line 19: warning: comment on exported type IGReelsTray should be of the form "IGReelsTray ..." (with optional leading article) (golint)
    • Line 34: warning: exported type IGReelTray should have comment or be unexported (golint)
    • Line 54: warning: exported method IGReelTray.GetUsername should have comment or be unexported (golint)
    • Line 58: warning: exported method IGReelTray.GetItems should have comment or be unexported (golint)
    • Line 77: warning: exported method IGApiManager.GetReelsTray should have comment or be unexported (golint)
    • instago/userinfo2.go
    • Line 11: warning: exported type UserInfoEndPoint should have comment or be unexported (golint)
    • Line 82: warning: exported method UserInfoEndPoint.GetUserId should have comment or be unexported (golint)
    • Line 86: warning: exported method UserInfoEndPoint.GetUsername should have comment or be unexported (golint)
    • Line 90: warning: exported method UserInfoEndPoint.IsPublic should have comment or be unexported (golint)
    • Line 99: warning: comment on exported method IGApiManager.GetUserInfoEndPoint should be of the form "GetUserInfoEndPoint ..." (golint)
    • instago/download/post.go
    • Line 10: warning: exported function DownloadPostNoLogin should have comment or be unexported (golint)
    • Line 20: warning: exported method IGDownloadManager.DownloadPost should have comment or be unexported (golint)
    • Line 94: warning: comment on exported function DownloadAllPostsNoLogin should be of the form "DownloadAllPostsNoLogin ..." (golint)
    • Line 108: warning: comment on exported method IGDownloadManager.DownloadAllPostsNoLogin should be of the form "DownloadAllPostsNoLogin ..." (golint)
    • Line 122: warning: comment on exported method IGDownloadManager.DownloadAllPosts should be of the form "DownloadAllPosts ..." (golint)
    • Line 136: warning: comment on exported function DownloadRecentPostsNoLogin should be of the form "DownloadRecentPostsNoLogin ..." (golint)
    • instago/download/story4ever.go
    • Line 11: warning: exported function ProcessTrayItem should have comment or be unexported (golint)
    • Line 42: warning: exported function ProcessTray should have comment or be unexported (golint)
    • Line 90: warning: exported method IGDownloadManager.DownloadTrayInfos should have comment or be unexported (golint)
    • Line 135: warning: exported method IGDownloadManager.TrayDownloader should have comment or be unexported (golint)
    • Line 189: warning: exported method IGDownloadManager.AccessReelsTrayOnce should have comment or be unexported (golint)
    • Line 229: warning: exported method IGDownloadManager.DownloadStoryForeverPublicReelMentions should have comment or be unexported (golint)
    • Line 246: warning: comment on exported method IGDownloadManager.DownloadUnexpiredStoryOfUser should be of the form "DownloadUnexpiredStoryOfUser ..." (golint)
    • Line 262: warning: comment on exported method IGDownloadManager.DownloadUnexpiredStoryOfFollowUsers should be of the form "DownloadUnexpiredStoryOfFollowUsers ..." (golint)
    • Line 275: warning: comment on exported method IGDownloadManager.DownloadUnexpiredStoryOfAllFollowingUsers should be of the form "DownloadUnexpiredStoryOfAllFollowingUsers ..." (golint)
    • instago/typeitem.go
    • Line 12: warning: exported type IGItem should have comment or be unexported (golint)
    • Line 109: warning: comment on exported type ItemVideoVersion should be of the form "ItemVideoVersion ..." (with optional leading article) (golint)
    • Line 118: warning: comment on exported type ItemImageVersion2 should be of the form "ItemImageVersion2 ..." (with optional leading article) (golint)
    • Line 127: warning: comment on exported type ItemReelMention should be of the form "ItemReelMention ..." (with optional leading article) (golint)
    • Line 148: warning: exported method ItemReelMention.GetUsername should have comment or be unexported (golint)
    • Line 152: warning: exported method ItemReelMention.GetUserId should have comment or be unexported (golint)
    • Line 156: warning: exported method ItemReelMention.IsPublic should have comment or be unexported (golint)
    • Line 160: warning: comment on exported type ItemUsertags should be of the form "ItemUsertags ..." (with optional leading article) (golint)
    • Line 170: warning: exported method ItemUsertags.GetTaggedUsernames should have comment or be unexported (golint)
    • Line 177: warning: exported method ItemUsertags.GetIdUsernamePairs should have comment or be unexported (golint)
    • Line 185: warning: comment on exported type ItemSuggestion should be of the form "ItemSuggestion ..." (with optional leading article) (golint)
    • Line 200: warning: comment on exported method IGItem.IsRegularMedia should be of the form "IsRegularMedia ..." (golint)
    • Line 233: warning: exported method IGItem.GetUsername should have comment or be unexported (golint)
    • Line 237: warning: exported method IGItem.GetUserId should have comment or be unexported (golint)
    • Line 241: warning: exported method IGItem.GetPostUrl should have comment or be unexported (golint)
    • Line 249: warning: exported method IGItem.GetPostCode should have comment or be unexported (golint)
    • Line 253: warning: exported method IGItem.GetTimestamp should have comment or be unexported (golint)
    • Line 257: warning: comment on exported method IGItem.GetMediaUrls should be of the form "GetMediaUrls ..." (golint)
    • Line 295: warning: comment on exported method IGItem.GetSelfType should be of the form "GetSelfType ..." (golint)
    • instago/typemedia.go
    • Line 8: warning: exported function PrintTaggedUsers should have comment or be unexported (golint)
    • Line 15: warning: exported type TaggedUsers should have comment or be unexported (golint)
    • Line 20: warning: exported function PrintPostItem should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type PostItem should be of the form "PostItem ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type IGMedia should be of the form "IGMedia ..." (with optional leading article) (golint)
    • Line 174: warning: comment on exported method IGMedia.GetUsername should be of the form "GetUsername ..." (golint)
    • Line 179: warning: comment on exported method IGMedia.GetUserId should be of the form "GetUserId ..." (golint)
    • Line 184: warning: comment on exported method IGMedia.GetTimestamp should be of the form "GetTimestamp ..." (golint)
    • Line 189: warning: comment on exported method IGMedia.GetMediaUrls should be of the form "GetMediaUrls ..." (golint)
    • Line 218: warning: comment on exported method IGMedia.GetPostUrl should be of the form "GetPostUrl ..." (golint)
    • Line 223: warning: comment on exported method IGMedia.GetPostCode should be of the form "GetPostCode ..." (golint)
    • Line 228: warning: comment on exported method IGMedia.GetSelfType should be of the form "GetSelfType ..." (golint)
    • Line 233: warning: comment on exported type MediaUsertags should be of the form "MediaUsertags ..." (with optional leading article) (golint)
    • Line 250: warning: exported method MediaUsertags.GetTaggedUsernames should have comment or be unexported (golint)
    • Line 257: warning: exported method MediaUsertags.GetIdUsernamePairs should have comment or be unexported (golint)
    • instago/download/story4ever2.go
    • Line 11: warning: exported method IGDownloadManager.AccessReelsTrayOnce2Chan should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method IGDownloadManager.TwoAccountDownloadStoryForeverSecondAccountViaStoryAPI should be of the form "TwoAccountDownloadStoryForeverSecondAccountViaStoryAPI ..." (golint)
    • Line 58: warning: exported method IGDownloadManager.TrayDownloader2ChanPrivate should have comment or be unexported (golint)
    • Line 114: warning: exported method IGDownloadManager.TrayDownloaderViaStoryAPI should have comment or be unexported (golint)
    • Line 185: warning: exported method IGDownloadManager.DownloadStoryFromUserIdFile should have comment or be unexported (golint)
    • instago/httpresp.go
    • Line 39: warning: comment on exported function GetHTTPResponseNoLogin should be of the form "GetHTTPResponseNoLogin ..." (golint)
    • instago/topsearch.go
    • Line 11: warning: comment on exported type IGTopsearchResp should be of the form "IGTopsearchResp ..." (with optional leading article) (golint)
    • Line 80: warning: comment on exported method IGApiManager.Topsearch should be of the form "Topsearch ..." (golint)
    • instago/userinfo.go
    • Line 26: warning: comment on exported type SharedData should be of the form "SharedData ..." (with optional leading article) (golint)
    • Line 40: warning: exported type UserInfo should have comment or be unexported (golint)
    • Line 81: warning: exported method UserInfo.GetUserId should have comment or be unexported (golint)
    • Line 85: warning: exported method UserInfo.GetUsername should have comment or be unexported (golint)
    • Line 89: warning: exported method UserInfo.IsPublic should have comment or be unexported (golint)
    • Line 113: warning: comment on exported function GetQueryHashNoLogin should be of the form "GetQueryHashNoLogin ..." (golint)
    • Line 139: warning: comment on exported function GetSharedDataQueryHashNoLogin should be of the form "GetSharedDataQueryHashNoLogin ..." (golint)
    • instago/reelsmedia.go
    • Line 53: warning: exported type ReelsMedia should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type IGReelsMediaTray should be of the form "IGReelsMediaTray ..." (with optional leading article) (golint)
    • Line 86: warning: exported method IGApiManager.GetMultipleReelsMedia should have comment or be unexported (golint)
    • instago/webstory.go
    • Line 9: warning: exported type WebStoryInfo should have comment or be unexported (golint)
    • Line 21: warning: exported type WebStoryQueryResponse should have comment or be unexported (golint)
    • Line 28: warning: exported type WebFeedReelsTrayResponse should have comment or be unexported (golint)
    • Line 43: warning: exported type IGReelMediaUser should have comment or be unexported (golint)
    • Line 69: warning: exported method IGApiManager.GetInfoFromWebStoryUrl should have comment or be unexported (golint)
    • Line 85: warning: exported method IGApiManager.GetIdFromWebStoryUrl should have comment or be unexported (golint)
    • Line 91: warning: exported method IGApiManager.GetWebGraphqlStoriesJson should have comment or be unexported (golint)
    • Line 110: warning: exported method IGApiManager.GetUserStoryByWebGraphql should have comment or be unexported (golint)
    • Line 133: warning: exported method IGApiManager.GetWebFeedReelsTray should have comment or be unexported (golint)
    • instago/typepostlive.go
    • Line 9: warning: comment on exported type IGPostLive should be of the form "IGPostLive ..." (with optional leading article) (golint)
    • Line 14: warning: exported type IGPostLiveItem should have comment or be unexported (golint)
    • Line 26: warning: exported method IGPostLiveItem.GetUsername should have comment or be unexported (golint)
    • Line 30: warning: exported method IGPostLiveItem.GetUserId should have comment or be unexported (golint)
    • Line 34: warning: exported method IGPostLiveItem.GetBroadcasts should have comment or be unexported (golint)
    • Line 38: warning: exported type IGBroadcast should have comment or be unexported (golint)
    • Line 66: warning: exported method IGBroadcast.GetDashManifest should have comment or be unexported (golint)
    • Line 70: warning: exported method IGBroadcast.GetBaseUrls should have comment or be unexported (golint)
    • Line 84: warning: exported method IGBroadcast.GetPublishedTime should have comment or be unexported (golint)
    • instago/typeuser.go
    • Line 7: warning: exported type User should have comment or be unexported (golint)
    • Line 13: warning: exported type IGFollowUser should have comment or be unexported (golint)
    • Line 28: warning: exported method IGFollowUser.GetUserId should have comment or be unexported (golint)
    • Line 32: warning: exported method IGFollowUser.GetUsername should have comment or be unexported (golint)
    • Line 36: warning: exported method IGFollowUser.IsPublic should have comment or be unexported (golint)
    • Line 40: warning: exported type IGUser should have comment or be unexported (golint)
    • Line 69: warning: exported method IGUser.GetUserId should have comment or be unexported (golint)
    • Line 73: warning: exported method IGUser.GetUsername should have comment or be unexported (golint)
    • Line 77: warning: exported method IGUser.IsPublic should have comment or be unexported (golint)
    • Line 81: warning: exported type IGTaggedUser should have comment or be unexported (golint)
    • instago/download/smart.go
    • Line 10: warning: exported method IGDownloadManager.GetAllPostMediaNoLoginIfPossible should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method IGDownloadManager.DownloadAllPostsNoLoginIfPossible should be of the form "DownloadAllPostsNoLoginIfPossible ..." (golint)
    • Line 54: warning: exported method IGDownloadManager.DownloadPostNoLoginIfPossible should have comment or be unexported (golint)
    • Line 83: warning: exported method IGDownloadManager.SmartDownloadAllPosts should have comment or be unexported (golint)
    • Line 91: warning: exported method IGDownloadManager.SmartDownloadHighlights should have comment or be unexported (golint)
    • Line 103: warning: exported method IGDownloadManager.SmartDownloadStory should have comment or be unexported (golint)
    • Line 113: warning: exported method IGDownloadManager.SmartDownloadPost should have comment or be unexported (golint)
    • Line 146: 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 172: warning: exported method IGDownloadManager.SmartDownloadUserStoryPostliveLayer should have comment or be unexported (golint)
    • Line 178: warning: exported method IGDownloadManager.SmartGetUserStory should have comment or be unexported (golint)
    • Line 185: warning: exported method IGDownloadManager.SmartGetUserInfoEndPoint should have comment or be unexported (golint)
    • instago/download/trayhelper.go
    • Line 9: warning: exported type TrayInfo should have comment or be unexported (golint)
    • Line 18: warning: exported function SetupTrayInfo should have comment or be unexported (golint)
    • Line 28: warning: exported function IsTrayInfoInQueue should have comment or be unexported (golint)
    • Line 37: warning: exported function GetTrayInfoFromQueue should have comment or be unexported (golint)
    • Line 48: warning: exported function IsLatestReelMediaExist should have comment or be unexported (golint)
    • instago/debug.go
    • Line 13: warning: comment on exported function SetSaveRawJsonByte should be of the form "SetSaveRawJsonByte ..." (golint)
    • Line 19: warning: exported function SaveRawJsonByte should have comment or be unexported (golint)
    • instago/getall.go
    • Line 9: warning: comment on exported method IGApiManager.GetAllPostMedia should be of the form "GetAllPostMedia ..." (golint)
    • Line 54: warning: comment on exported method IGApiManager.GetAllPostCode should be of the form "GetAllPostCode ..." (golint)
    • Line 67: warning: comment on exported method IGApiManager.GetAllStoryHighlights should be of the form "GetAllStoryHighlights ..." (golint)
    • instago/getallnologin.go
    • Line 13: warning: don't use underscores in Go names; func parameter rhx_gis should be rhxGis (golint)
    • Line 19: warning: comment on exported function GetAllPostMediaNoLogin should be of the form "GetAllPostMediaNoLogin ..." (golint)
    • instago/isurl.go
    • Line 7: warning: exported function IsWebStoryUrl should have comment or be unexported (golint)
    • Line 12: warning: exported function IsWebRootUrl should have comment or be unexported (golint)
    • Line 17: warning: exported function IsWebUserUrl should have comment or be unexported (golint)
    • Line 22: warning: exported function IsWebSavedUrl should have comment or be unexported (golint)
    • Line 27: warning: exported function IsWebTaggedUrl should have comment or be unexported (golint)
    • Line 32: warning: exported function IsWebPostUrl should have comment or be unexported (golint)
    • instago/post.go
    • Line 16: warning: comment on exported function CodeToUrl should be of the form "CodeToUrl ..." (golint)
    • Line 21: warning: comment on exported method IGApiManager.GetPostInfo should be of the form "GetPostInfo ..." (golint)
    • Line 43: warning: comment on exported function GetPostInfoNoLogin should be of the form "GetPostInfoNoLogin ..." (golint)
    • instago/download/path.go
    • Line 16: warning: exported function SetOutputDir should have comment or be unexported (golint)
    • Line 20: warning: exported function SetDataDir should have comment or be unexported (golint)
    • Line 24: warning: exported function GetPostFilePath should have comment or be unexported (golint)
    • Line 31: warning: exported function GetUserDir should have comment or be unexported (golint)
    • Line 35: warning: exported function GetUserStoryDir should have comment or be unexported (golint)
    • Line 39: warning: exported function GetStoryFilePath should have comment or be unexported (golint)
    • Line 55: warning: exported function CreateFilepathDirIfNotExist should have comment or be unexported (golint)
    • Line 75: warning: exported function GetIdUsernameDir should have comment or be unexported (golint)
    • Line 79: warning: exported function GetIdUsernamePath should have comment or be unexported (golint)
    • Line 84: warning: exported function GetReelMentionsPath should have comment or be unexported (golint)
    • Line 89: warning: exported function GetScreenshotPath should have comment or be unexported (golint)
    • Line 94: warning: exported function GetFollowDir should have comment or be unexported (golint)
    • Line 108: warning: exported function GetReelMediaUnixTimesInUserStoryDir should have comment or be unexported (golint)
    • instago/download/saved.go
    • Line 76: warning: comment on exported method IGDownloadManager.DownloadSavedPosts should be of the form "DownloadSavedPosts ..." (golint)
    • Line 101: warning: exported method IGDownloadManager.ProcessSavedItems should have comment or be unexported (golint)
    • Line 131: warning: comment on exported method IGDownloadManager.DownloadSavedPostsAndSendItemInCollectionToChannel should be of the form "DownloadSavedPostsAndSendItemInCollectionToChannel ..." (golint)
    • Line 143: warning: comment on exported method IGDownloadManager.DownloadSavedCollectionPostsAndSendItemInCollectionToChannel should be of the form "DownloadSavedCollectionPostsAndSendItemInCollectionToChannel ..." (golint)
    • Line 160: warning: comment on exported method IGDownloadManager.DownloadDependOnCollectionName should be of the form "DownloadDependOnCollectionName ..." (golint)
    • Line 204: warning: exported method IGDownloadManager.IsInCollection should have comment or be unexported (golint)
    • Line 215: warning: exported method IGDownloadManager.CollectionId2Name should have comment or be unexported (golint)
    • Line 224: warning: exported method IGDownloadManager.CollectionName2Id should have comment or be unexported (golint)
    • instago/download/timelimit.go
    • Line 7: warning: exported type TimeLimiter should have comment or be unexported (golint)
    • Line 12: warning: exported function NewTimeLimiter should have comment or be unexported (golint)
    • Line 20: warning: exported method TimeLimiter.WaitAtLeastIntervalAfterLastTime should have comment or be unexported (golint)
    • Line 28: warning: exported method TimeLimiter.WaitAtLeastNIntervalAfterLastTime should have comment or be unexported (golint)
    • Line 36: warning: exported method TimeLimiter.IsOverNIntervalAfterLastTime should have comment or be unexported (golint)
    • Line 45: warning: exported method TimeLimiter.SetLastTimeToNow should have comment or be unexported (golint)
    • instago/toplive.go
    • Line 11: warning: comment on exported type IGTopliveResp should be of the form "IGTopliveResp ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported method IGApiManager.Toplive should be of the form "Toplive ..." (golint)
    • instago/util.go
    • Line 8: warning: exported function FormatTimestamp should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!