Preparing report...

Report for git.mills.io/yarnsocial/yarn

(v0.0.0-20220210035934-8ef9e402f578)

A+    Excellent!    Found 61 issues across 114 files

Tweet

gofmt97%

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


go_vet100%

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

No problems detected. Good job!


golint54%

Golint is a linter for Go source code.

    • cmd/yarnc/root.go
    • Line 20: warning: exported const DefaultConfigFilename should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported var ConfigFile should have comment or be unexported (golint)
    • internal/func_task.go
    • Line 5: warning: exported type FuncTask should have comment or be unexported (golint)
    • Line 11: warning: exported function NewFuncTask should have comment or be unexported (golint)
    • Line 20: warning: exported method FuncTask.Run should have comment or be unexported (golint)
    • internal/jobs.go
    • Line 15: warning: exported type Job should have comment or be unexported (golint)
    • Line 26: warning: exported function NewJobSpec should have comment or be unexported (golint)
    • Line 31: warning: exported var Jobs should have comment or be unexported (golint)
    • Line 35: warning: exported function InitJobs should have comment or be unexported (golint)
    • Line 69: warning: exported type JobFactory should have comment or be unexported (golint)
    • Line 71: warning: exported type SyncStoreJob should have comment or be unexported (golint)
    • Line 78: warning: exported function NewSyncStoreJob should have comment or be unexported (golint)
    • Line 84: warning: exported method SyncStoreJob.Run should have comment or be unexported (golint)
    • Line 91: warning: exported type StatsJob should have comment or be unexported (golint)
    • Line 100: warning: exported function NewStatsJob should have comment or be unexported (golint)
    • Line 109: warning: exported method StatsJob.Run should have comment or be unexported (golint)
    • Line 184: warning: exported type UpdateFeedsJob should have comment or be unexported (golint)
    • Line 191: warning: exported function NewUpdateFeedsJob should have comment or be unexported (golint)
    • Line 197: warning: exported method UpdateFeedsJob.Run should have comment or be unexported (golint)
    • Line 255: warning: exported type UpdateFeedSourcesJob should have comment or be unexported (golint)
    • Line 262: warning: exported function NewUpdateFeedSourcesJob should have comment or be unexported (golint)
    • Line 268: warning: exported method UpdateFeedSourcesJob.Run should have comment or be unexported (golint)
    • Line 282: warning: exported type CreateAdminFeedsJob should have comment or be unexported (golint)
    • Line 289: warning: exported function NewCreateAdminFeedsJob should have comment or be unexported (golint)
    • Line 295: warning: exported method CreateAdminFeedsJob.Run should have comment or be unexported (golint)
    • Line 323: warning: exported type CreateAutomatedFeedsJob should have comment or be unexported (golint)
    • Line 330: warning: exported function NewCreateAutomatedFeedsJob should have comment or be unexported (golint)
    • Line 336: warning: exported method CreateAutomatedFeedsJob.Run should have comment or be unexported (golint)
    • Line 349: warning: exported type ActiveUsersJob should have comment or be unexported (golint)
    • Line 356: warning: exported function NewActiveUsersJob should have comment or be unexported (golint)
    • Line 362: warning: exported method ActiveUsersJob.Run should have comment or be unexported (golint)
    • Line 386: warning: exported type DeleteOldSessionsJob should have comment or be unexported (golint)
    • Line 393: warning: exported function NewDeleteOldSessionsJob should have comment or be unexported (golint)
    • Line 399: warning: exported method DeleteOldSessionsJob.Run should have comment or be unexported (golint)
    • Line 418: warning: exported type RotateFeedsJob should have comment or be unexported (golint)
    • Line 425: warning: exported function NewRotateFeedsJob should have comment or be unexported (golint)
    • Line 431: warning: exported method RotateFeedsJob.Run should have comment or be unexported (golint)
    • Line 458: warning: exported type PruneFollowersJob should have comment or be unexported (golint)
    • Line 465: warning: exported function NewPruneFollowersJob should have comment or be unexported (golint)
    • Line 471: warning: exported method PruneFollowersJob.Run should have comment or be unexported (golint)
    • Line 475: warning: exported type PruneUsersJob should have comment or be unexported (golint)
    • Line 482: warning: exported function NewPruneUsersJob should have comment or be unexported (golint)
    • Line 488: warning: exported method PruneUsersJob.Run should have comment or be unexported (golint)
    • Line 547: warning: exported type FixAdminFeedsJob should have comment or be unexported (golint)
    • Line 554: warning: exported function NewFixAdminFeedsJob should have comment or be unexported (golint)
    • Line 560: warning: exported method FixAdminFeedsJob.Run should have comment or be unexported (golint)
    • internal/store.go
    • Line 14: warning: exported var ErrInvalidStore should have comment or be unexported (golint)
    • Line 20: warning: exported type Store should have comment or be unexported (golint)
    • Line 50: warning: exported type StoreFactory should have comment or be unexported (golint)
    • Line 75: warning: exported function NewStore should have comment or be unexported (golint)
    • internal/ttlcache.go
    • Line 20: warning: exported type TTLCache should have comment or be unexported (golint)
    • Line 27: warning: exported method TTLCache.Dec should have comment or be unexported (golint)
    • Line 31: warning: exported method TTLCache.Inc should have comment or be unexported (golint)
    • Line 45: warning: exported method TTLCache.Get should have comment or be unexported (golint)
    • Line 53: warning: exported method TTLCache.GetString should have comment or be unexported (golint)
    • Line 70: warning: exported method TTLCache.Del should have comment or be unexported (golint)
    • Line 77: warning: exported method TTLCache.Set should have comment or be unexported (golint)
    • Line 82: warning: exported method TTLCache.SetString should have comment or be unexported (golint)
    • Line 87: warning: exported method TTLCache.Reset should have comment or be unexported (golint)
    • Line 91: warning: exported function NewTTLCache should have comment or be unexported (golint)
    • internal/utils.go
    • Line 35: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 78: warning: exported const DayAgo should have comment (or a comment on this block) or be unexported (golint)
    • Line 120: warning: exported var ErrInvalidFeedName should have comment or be unexported (golint)
    • Line 133: warning: exported function GenerateRandomToken should have comment or be unexported (golint)
    • Line 139: warning: exported function DecodeHash should have comment or be unexported (golint)
    • Line 144: warning: exported function FastHash should have comment or be unexported (golint)
    • Line 154: warning: exported function FastHashString should have comment or be unexported (golint)
    • Line 158: warning: exported function FastHashFile should have comment or be unexported (golint)
    • Line 166: warning: exported function IntPow should have comment or be unexported (golint)
    • Line 170: warning: exported function Slugify should have comment or be unexported (golint)
    • Line 180: warning: exported function GenerateAvatar should have comment or be unexported (golint)
    • Line 196: warning: exported function ReplaceExt should have comment or be unexported (golint)
    • Line 201: warning: exported function HasExternalAvatarChanged should have comment or be unexported (golint)
    • Line 236: warning: exported function GetExternalAvatar should have comment or be unexported (golint)
    • Line 271: warning: exported function RequestGemini should have comment or be unexported (golint)
    • Line 285: warning: exported function RequestGopher should have comment or be unexported (golint)
    • Line 299: warning: exported function RequestHTTP should have comment or be unexported (golint)
    • Line 336: warning: exported function ResourceExists should have comment or be unexported (golint)
    • Line 347: warning: exported function LineCount should have comment or be unexported (golint)
    • Line 366: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 442: warning: exported function IsLocalURLFactory should have comment or be unexported (golint)
    • Line 451: warning: exported function GetUserFromTwter should have comment or be unexported (golint)
    • Line 462: warning: exported function GetUserFromURL should have comment or be unexported (golint)
    • Line 473: warning: exported function WebMention should have comment or be unexported (golint)
    • Line 488: warning: exported function StringKeys should have comment or be unexported (golint)
    • Line 496: warning: exported function StringValues should have comment or be unexported (golint)
    • Line 504: warning: exported function MapStrings should have comment or be unexported (golint)
    • Line 512: warning: exported function HasString should have comment or be unexported (golint)
    • Line 521: warning: exported function UniqStrings should have comment or be unexported (golint)
    • Line 536: warning: exported function RemoveString should have comment or be unexported (golint)
    • Line 547: warning: exported function UniqueKeyFor should have comment or be unexported (golint)
    • Line 558: warning: exported function IsGifImage should have comment or be unexported (golint)
    • Line 579: warning: exported function IsImage should have comment or be unexported (golint)
    • Line 596: warning: exported function IsAudio should have comment or be unexported (golint)
    • Line 613: warning: exported function IsVideo should have comment or be unexported (golint)
    • Line 630: warning: exported type ImageOptions should have comment or be unexported (golint)
    • Line 636: warning: exported type AudioOptions should have comment or be unexported (golint)
    • Line 643: warning: exported type VideoOptions should have comment or be unexported (golint)
    • Line 648: warning: exported function DownloadImage should have comment or be unexported (golint)
    • Line 674: warning: exported function ReceiveAudio should have comment or be unexported (golint)
    • Line 687: warning: exported function ReceiveImage should have comment or be unexported (golint)
    • Line 700: warning: exported function ReceiveVideo should have comment or be unexported (golint)
    • Line 758: warning: exported function TranscodeAudio should have comment or be unexported (golint)
    • Line 853: warning: exported function ResizeGif should have comment or be unexported (golint)
    • Line 890: warning: comment on exported function SaveGif should be of the form "SaveGif ..." (golint)
    • Line 901: warning: exported function ProcessImage should have comment or be unexported (golint)
    • Line 997: warning: exported function TranscodeVideo should have comment or be unexported (golint)
    • Line 1119: warning: exported function StoreUploadedImage should have comment or be unexported (golint)
    • Line 1129: warning: exported function NormalizeFeedName should have comment or be unexported (golint)
    • Line 1136: warning: exported function ValidateFeed should have comment or be unexported (golint)
    • Line 1174: warning: exported function ValidateFeedName should have comment or be unexported (golint)
    • Line 1185: warning: exported type URI should have comment or be unexported (golint)
    • Line 1190: warning: exported method URI.IsZero should have comment or be unexported (golint)
    • Line 1297: warning: exported method SingleUserAgent.PodBaseURL should have comment or be unexported (golint)
    • Line 1302: warning: exported method SingleUserAgent.IsPublicURL should have comment or be unexported (golint)
    • Line 1306: warning: exported method SingleUserAgent.Followers should have comment or be unexported (golint)
    • Line 1328: warning: exported method MultiUserAgent.PodBaseURL should have comment or be unexported (golint)
    • Line 1333: warning: exported method MultiUserAgent.IsPublicURL should have comment or be unexported (golint)
    • Line 1337: warning: exported method MultiUserAgent.Followers should have comment or be unexported (golint)
    • Line 1402: warning: exported method YarndUserAgent.PodBaseURL should have comment or be unexported (golint)
    • Line 1407: warning: exported method YarndUserAgent.IsPublicURL should have comment or be unexported (golint)
    • Line 1411: warning: exported method YarndUserAgent.Followers should have comment or be unexported (golint)
    • Line 1415: warning: exported function ParseUserAgent should have comment or be unexported (golint)
    • Line 1443: warning: exported function ParseURI should have comment or be unexported (golint)
    • Line 1451: warning: exported function NormalizeUsername should have comment or be unexported (golint)
    • Line 1455: warning: exported function NormalizeURL should have comment or be unexported (golint)
    • Line 1495: warning: exported function HostnameFromURL should have comment or be unexported (golint)
    • Line 1505: warning: exported function BaseFromURL should have comment or be unexported (golint)
    • Line 1521: warning: exported function PrettyURL should have comment or be unexported (golint)
    • Line 1545: warning: exported function UserURL should have comment or be unexported (golint)
    • Line 1552: warning: exported function URLForMedia should have comment or be unexported (golint)
    • Line 1560: warning: exported function URLForPage should have comment or be unexported (golint)
    • Line 1568: warning: exported function URLForTwt should have comment or be unexported (golint)
    • Line 1576: warning: exported function URLForUser should have comment or be unexported (golint)
    • Line 1584: warning: exported function URLForAvatar should have comment or be unexported (golint)
    • Line 1596: warning: exported function URLForExternalProfile should have comment or be unexported (golint)
    • Line 1604: warning: exported function URLForExternalAvatar should have comment or be unexported (golint)
    • Line 1612: warning: exported function GetConvLength should have comment or be unexported (golint)
    • Line 1621: warning: exported function GetForkLength should have comment or be unexported (golint)
    • Line 1627: warning: exported function ExtractHashFromSubject should have comment or be unexported (golint)
    • Line 1645: warning: exported function GetTwtConvSubjectHash should have comment or be unexported (golint)
    • Line 1659: warning: exported function URLForConvFactory should have comment or be unexported (golint)
    • Line 1672: warning: exported function URLForForkFactory should have comment or be unexported (golint)
    • Line 1682: warning: exported function URLForRootConvFactory should have comment or be unexported (golint)
    • Line 1695: warning: exported function URLForTag should have comment or be unexported (golint)
    • Line 1703: warning: exported function URLForTask should have comment or be unexported (golint)
    • Line 1711: warning: exported function URLForWhoFollows should have comment or be unexported (golint)
    • Line 1793: warning: exported type FilterTwtsFunc should have comment or be unexported (golint)
    • Line 2028: warning: exported function FormatForDateTime should have comment or be unexported (golint)
    • Line 2052: warning: exported type URLProcessor should have comment or be unexported (golint)
    • Line 2059: warning: exported method URLProcessor.RenderNodeHook should have comment or be unexported (golint)
    • Line 2217: warning: exported function GetRootTwtFactory should have comment or be unexported (golint)
    • Line 2444: warning: exported function GetMediaNamesFromText should have comment or be unexported (golint)
    • Line 2618: warning: exported function RotateFeed should have comment or be unexported (golint)
    • internal/session/session.go
    • Line 21: warning: exported function NewSession should have comment or be unexported (golint)
    • Line 25: warning: exported function LoadSession should have comment or be unexported (golint)
    • Line 37: warning: exported method Session.Expired should have comment or be unexported (golint)
    • Line 41: warning: exported method Session.Set should have comment or be unexported (golint)
    • Line 46: warning: exported method Session.Get should have comment or be unexported (golint)
    • Line 51: warning: exported method Session.Has should have comment or be unexported (golint)
    • Line 56: warning: exported method Session.Del should have comment or be unexported (golint)
    • Line 61: warning: exported method Session.Bytes should have comment or be unexported (golint)
    • types/profile.go
    • Line 8: warning: exported type Follower should have comment or be unexported (golint)
    • Line 25: warning: exported type Followers should have comment or be unexported (golint)
    • Line 46: warning: exported type Follow should have comment or be unexported (golint)
    • Line 59: warning: exported type Follows should have comment or be unexported (golint)
    • Line 212: warning: exported type Link should have comment or be unexported (golint)
    • Line 217: warning: exported type Links should have comment or be unexported (golint)
    • types/twt.go
    • Line 16: warning: exported const TwtHashLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported var ErrNotImplemented should have comment or be unexported (golint)
    • Line 24: warning: exported type ErrDeadFeed should have comment or be unexported (golint)
    • Line 55: warning: exported function NewTwter should have comment or be unexported (golint)
    • Line 66: warning: exported method Twter.IsZero should have comment or be unexported (golint)
    • Line 70: warning: exported method Twter.MarshalJSON should have comment or be unexported (golint)
    • Line 98: warning: exported method Twter.Domain should have comment or be unexported (golint)
    • Line 107: warning: exported method Twter.DomainNick should have comment or be unexported (golint)
    • Line 141: warning: exported type TwtMention should have comment or be unexported (golint)
    • Line 145: warning: exported type MentionList should have comment or be unexported (golint)
    • Line 147: warning: exported method MentionList.IsMentioned should have comment or be unexported (golint)
    • Line 156: warning: exported method MentionList.Mentions should have comment or be unexported (golint)
    • Line 164: warning: exported type TwtTag should have comment or be unexported (golint)
    • Line 169: warning: exported type TagList should have comment or be unexported (golint)
    • Line 171: warning: exported method TagList.Tags should have comment or be unexported (golint)
    • Line 182: warning: exported type TwtLink should have comment or be unexported (golint)
    • Line 187: warning: exported type LinkList should have comment or be unexported (golint)
    • Line 189: warning: exported method LinkList.Links should have comment or be unexported (golint)
    • Line 197: warning: exported type Subject should have comment or be unexported (golint)
    • Line 238: warning: exported method Twts.TagCount should have comment or be unexported (golint)
    • Line 260: warning: exported method Twts.MentionCount should have comment or be unexported (golint)
    • Line 278: warning: exported method Twts.LinkCount should have comment or be unexported (golint)
    • Line 297: warning: exported method Twts.SubjectCount should have comment or be unexported (golint)
    • Line 305: warning: exported method Twts.Clone should have comment or be unexported (golint)
    • Line 313: warning: exported method Twts.UnmarshalJSON should have comment or be unexported (golint)
    • Line 333: warning: exported type FmtOpts should have comment or be unexported (golint)
    • Line 358: warning: exported var NilTwt should have comment or be unexported (golint)
    • Line 390: warning: exported type TwtManager should have comment or be unexported (golint)
    • Line 414: warning: exported function DecodeJSON should have comment or be unexported (golint)
    • Line 415: warning: exported function ParseLine should have comment or be unexported (golint)
    • Line 418: warning: exported function ParseFile should have comment or be unexported (golint)
    • Line 421: warning: exported function MakeTwt should have comment or be unexported (golint)
    • Line 425: warning: exported function SetTwtManager should have comment or be unexported (golint)
    • Line 429: warning: exported type TwtFile should have comment or be unexported (golint)
    • Line 435: warning: exported type Info should have comment or be unexported (golint)
    • Line 441: warning: exported type KV should have comment or be unexported (golint)
    • Line 448: warning: exported type Value should have comment or be unexported (golint)
    • Line 482: warning: exported type FeedLookup should have comment or be unexported (golint)
    • Line 486: warning: exported type FeedLookupFn should have comment or be unexported (golint)
    • Line 488: warning: exported method FeedLookupFn.FeedLookup should have comment or be unexported (golint)
    • Line 490: warning: exported function NormalizeUsername should have comment or be unexported (golint)
    • types/yarn.go
    • Line 9: warning: exported method Yarn.GetLastTwt should have comment or be unexported (golint)
    • Line 19: warning: exported method Yarns.AsTwts should have comment or be unexported (golint)
    • internal/audio_task.go
    • Line 9: warning: exported type AudioTask should have comment or be unexported (golint)
    • Line 16: warning: exported function NewAudioTask should have comment or be unexported (golint)
    • Line 26: warning: exported method AudioTask.Run should have comment or be unexported (golint)
    • internal/options.go
    • Line 4: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 50: warning: comment on exported const DefaultMetaTitle should be of the form "DefaultMetaTitle ..." (golint)
    • Line 52: warning: exported const DefaultMetaAuthor should have comment (or a comment on this block) or be unexported (golint)
    • Line 116: warning: comment on exported const DefaultSMTPBind should be of the form "DefaultSMTPBind ..." (golint)
    • Line 120: warning: comment on exported const DefaultSMTPHost should be of the form "DefaultSMTPHost ..." (golint)
    • Line 157: warning: comment on exported var DefaultAlertFloat should be of the form "DefaultAlertFloat ..." (golint)
    • Line 159: warning: exported var DefaultAlertGuest should have comment or be unexported (golint)
    • Line 212: warning: comment on exported var DefaultDisplayImagesPreference should be of the form "DefaultDisplayImagesPreference ..." (golint)
    • Line 216: warning: comment on exported var DefaultDisplayMedia should be of the form "DefaultDisplayMedia ..." (golint)
    • Line 223: warning: exported function NewConfig should have comment or be unexported (golint)
    • internal/twt.go
    • Line 23: warning: exported function DeleteLastTwt should have comment or be unexported (golint)
    • Line 46: warning: exported type AppendTwtFunc should have comment or be unexported (golint)
    • Line 48: warning: exported function AppendTwtFactory should have comment or be unexported (golint)
    • Line 128: warning: exported function FeedExists should have comment or be unexported (golint)
    • Line 139: warning: exported function GetLastTwt should have comment or be unexported (golint)
    • Line 165: warning: exported function GetAllFeeds should have comment or be unexported (golint)
    • Line 191: warning: exported function GetFeedCount should have comment or be unexported (golint)
    • Line 210: warning: exported function GetAllTwts should have comment or be unexported (golint)
    • types/preamble.go
    • Line 9: warning: exported const PreambleBufferSize should have comment or be unexported (golint)
    • Line 11: warning: exported var PreambleMarker should have comment or be unexported (golint)
    • Line 13: warning: exported type ReadSeekerReaderAt should have comment or be unexported (golint)
    • Line 19: warning: exported type PreambleFeed should have comment or be unexported (golint)
    • Line 24: warning: exported method PreambleFeed.Preamble should have comment or be unexported (golint)
    • Line 25: warning: exported method PreambleFeed.Seek should have comment or be unexported (golint)
    • Line 28: warning: exported function ReadPreambleFeed should have comment or be unexported (golint)
    • types/lextwt/lextwt.go
    • Line 126: warning: exported function ParseLine should have comment or be unexported (golint)
    • Line 178: warning: exported function NewTwtFile should have comment or be unexported (golint)
    • internal/archive.go
    • Line 21: warning: exported var ErrTwtAlreadyArchived should have comment or be unexported (golint)
    • Line 40: warning: exported function NewNullArchiver should have comment or be unexported (golint)
    • Line 44: warning: exported method NullArchiver.Del should have comment or be unexported (golint)
    • Line 45: warning: exported method NullArchiver.Has should have comment or be unexported (golint)
    • Line 46: warning: exported method NullArchiver.Get should have comment or be unexported (golint)
    • Line 47: warning: exported method NullArchiver.Archive should have comment or be unexported (golint)
    • Line 48: warning: exported method NullArchiver.Count should have comment or be unexported (golint)
    • Line 57: warning: exported function NewDiskArchiver should have comment or be unexported (golint)
    • Line 91: warning: exported method DiskArchiver.Del should have comment or be unexported (golint)
    • Line 105: warning: exported method DiskArchiver.Has should have comment or be unexported (golint)
    • Line 115: warning: exported method DiskArchiver.Get should have comment or be unexported (golint)
    • Line 141: warning: exported method DiskArchiver.Archive should have comment or be unexported (golint)
    • Line 171: warning: exported method DiskArchiver.Count should have comment or be unexported (golint)
    • internal/handlers.go
    • Line 28: warning: exported var ErrFeedImposter should have comment or be unexported (golint)
    • Line 31: warning: exported method Server.NotFoundHandler should have comment or be unexported (golint)
    • internal/task.go
    • Line 5: warning: exported type TaskState should have comment or be unexported (golint)
    • Line 8: warning: exported const TaskStatePending should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type TaskData should have comment or be unexported (golint)
    • Line 31: warning: exported type TaskResult should have comment or be unexported (golint)
    • internal/translator.go
    • Line 14: warning: exported type Translator should have comment or be unexported (golint)
    • Line 18: warning: exported function NewTranslator should have comment or be unexported (golint)
    • types/lextwt/parser.go
    • Line 32: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 913: warning: exported type ListError should have comment or be unexported (golint)
    • Line 1063: warning: exported var ErrParseElm should have comment or be unexported (golint)
    • Line 1064: warning: exported var ErrParseToken should have comment or be unexported (golint)
    • internal/errors.go
    • Line 8: warning: exported type ErrCommandKilled should have comment or be unexported (golint)
    • Line 13: warning: exported method ErrCommandKilled.Is should have comment or be unexported (golint)
    • Line 28: warning: exported type ErrCommandFailed should have comment or be unexported (golint)
    • Line 33: warning: exported method ErrCommandFailed.Is should have comment or be unexported (golint)
    • Line 48: warning: exported type ErrTranscodeTimeout should have comment or be unexported (golint)
    • Line 60: warning: exported type ErrTranscodeFailed should have comment or be unexported (golint)
    • Line 72: warning: exported type ErrAudioUploadFailed should have comment or be unexported (golint)
    • Line 84: warning: exported type ErrVideoUploadFailed should have comment or be unexported (golint)
    • internal/feeds_handlers.go
    • Line 108: warning: comment on exported method Server.ManageFeedHandler should be of the form "ManageFeedHandler ..." (golint)
    • Line 218: warning: comment on exported method Server.DeleteFeedHandler should be of the form "DeleteFeedHandler ..." (golint)
    • internal/image_task.go
    • Line 9: warning: exported type ImageTask should have comment or be unexported (golint)
    • Line 16: warning: exported function NewImageTask should have comment or be unexported (golint)
    • Line 26: warning: exported method ImageTask.Run should have comment or be unexported (golint)
    • internal/page_handlers.go
    • Line 27: warning: exported type FrontMatter should have comment or be unexported (golint)
    • Line 32: warning: exported type Page should have comment or be unexported (golint)
    • types/lextwt/ast.go
    • Line 24: warning: exported type Elem should have comment or be unexported (golint)
    • Line 32: warning: exported type Line should have comment or be unexported (golint)
    • Line 37: warning: exported type Comment should have comment or be unexported (golint)
    • Line 45: warning: exported function NewComment should have comment or be unexported (golint)
    • Line 48: warning: exported function NewCommentValue should have comment or be unexported (golint)
    • Line 51: warning: exported method Comment.IsNil should have comment or be unexported (golint)
    • Line 52: warning: exported method Comment.Literal should have comment or be unexported (golint)
    • Line 54: warning: exported method Comment.Key should have comment or be unexported (golint)
    • Line 55: warning: exported method Comment.Value should have comment or be unexported (golint)
    • Line 57: warning: exported type Comments should have comment or be unexported (golint)
    • Line 69: warning: exported method Comments.GetN should have comment or be unexported (golint)
    • Line 93: warning: exported method Comments.Values should have comment or be unexported (golint)
    • Line 103: warning: exported method Comments.GetAll should have comment or be unexported (golint)
    • Line 119: warning: exported method Comments.FollowMap should have comment or be unexported (golint)
    • Line 134: warning: exported method Comments.Following should have comment or be unexported (golint)
    • Line 149: warning: exported type DateTime should have comment or be unexported (golint)
    • Line 157: warning: exported function NewDateTime should have comment or be unexported (golint)
    • Line 163: warning: exported method DateTime.CloneDateTime should have comment or be unexported (golint)
    • Line 171: warning: exported method DateTime.IsNil should have comment or be unexported (golint)
    • Line 172: warning: exported method DateTime.Literal should have comment or be unexported (golint)
    • Line 179: warning: exported method DateTime.DateTime should have comment or be unexported (golint)
    • Line 186: warning: exported type Mention should have comment or be unexported (golint)
    • Line 200: warning: exported function NewMention should have comment or be unexported (golint)
    • Line 220: warning: exported method Mention.Clone should have comment or be unexported (golint)
    • Line 228: warning: exported method Mention.IsNil should have comment or be unexported (golint)
    • Line 229: warning: exported method Mention.Twter should have comment or be unexported (golint)
    • Line 230: warning: exported method Mention.Literal should have comment or be unexported (golint)
    • Line 232: warning: exported method Mention.Name should have comment or be unexported (golint)
    • Line 233: warning: exported method Mention.Domain should have comment or be unexported (golint)
    • Line 239: warning: exported method Mention.Target should have comment or be unexported (golint)
    • Line 240: warning: exported method Mention.SetTarget should have comment or be unexported (golint)
    • Line 241: warning: exported method Mention.URL should have comment or be unexported (golint)
    • Line 247: warning: exported method Mention.Err should have comment or be unexported (golint)
    • Line 251: warning: exported method Mention.Format should have comment or be unexported (golint)
    • Line 265: warning: exported method Mention.FormatCompact should have comment or be unexported (golint)
    • Line 275: warning: exported method Mention.FormatText should have comment or be unexported (golint)
    • Line 291: warning: exported method Mention.FormatMarkdown should have comment or be unexported (golint)
    • Line 309: warning: exported method Mention.FormatHTML should have comment or be unexported (golint)
    • Line 329: warning: exported type Tag should have comment or be unexported (golint)
    • Line 342: warning: exported function NewTag should have comment or be unexported (golint)
    • Line 351: warning: exported method Tag.Clone should have comment or be unexported (golint)
    • Line 354: warning: exported method Tag.CloneTag should have comment or be unexported (golint)
    • Line 362: warning: exported method Tag.IsNil should have comment or be unexported (golint)
    • Line 363: warning: exported method Tag.Literal should have comment or be unexported (golint)
    • Line 365: warning: exported method Tag.Text should have comment or be unexported (golint)
    • Line 366: warning: exported method Tag.Target should have comment or be unexported (golint)
    • Line 367: warning: exported method Tag.URL should have comment or be unexported (golint)
    • Line 373: warning: exported method Tag.Format should have comment or be unexported (golint)
    • Line 387: warning: exported method Tag.FormatCompact should have comment or be unexported (golint)
    • Line 390: warning: exported method Tag.FormatText should have comment or be unexported (golint)
    • Line 403: warning: exported method Tag.FormatMarkdown should have comment or be unexported (golint)
    • Line 417: warning: exported method Tag.FormatHTML should have comment or be unexported (golint)
    • Line 426: warning: exported type Subject should have comment or be unexported (golint)
    • Line 434: warning: exported function NewSubject should have comment or be unexported (golint)
    • Line 435: warning: exported function NewSubjectTag should have comment or be unexported (golint)
    • Line 436: warning: exported method Subject.Clone should have comment or be unexported (golint)
    • Line 445: warning: exported method Subject.IsNil should have comment or be unexported (golint)
    • Line 446: warning: exported method Subject.Literal should have comment or be unexported (golint)
    • Line 453: warning: exported method Subject.Text should have comment or be unexported (golint)
    • Line 459: warning: exported method Subject.Tag should have comment or be unexported (golint)
    • Line 460: warning: exported method Subject.Subject should have comment or be unexported (golint)
    • Line 461: warning: exported method Subject.Format should have comment or be unexported (golint)
    • Line 478: warning: exported type Text should have comment or be unexported (golint)
    • Line 484: warning: exported function NewText should have comment or be unexported (golint)
    • Line 485: warning: exported method Text.Clone should have comment or be unexported (golint)
    • Line 491: warning: exported method Text.IsNil should have comment or be unexported (golint)
    • Line 492: warning: exported method Text.Literal should have comment or be unexported (golint)
    • Line 494: warning: exported method Text.Format should have comment or be unexported (golint)
    • Line 501: warning: exported method Text.IsSpace should have comment or be unexported (golint)
    • Line 510: warning: exported var LineSeparator should have comment or be unexported (golint)
    • Line 524: warning: exported type Link should have comment or be unexported (golint)
    • Line 533: warning: exported type LinkType should have comment or be unexported (golint)
    • Line 536: warning: exported const LinkStandard should have comment (or a comment on this block) or be unexported (golint)
    • Line 542: warning: exported function NewLink should have comment or be unexported (golint)
    • Line 550: warning: exported function NewMedia should have comment or be unexported (golint)
    • Line 559: warning: exported method Link.Clone should have comment or be unexported (golint)
    • Line 567: warning: exported method Link.TextToTitle should have comment or be unexported (golint)
    • Line 572: warning: exported method Link.IsNil should have comment or be unexported (golint)
    • Line 573: warning: exported method Link.Literal should have comment or be unexported (golint)
    • Line 588: warning: exported method Link.Format should have comment or be unexported (golint)
    • Line 598: warning: exported method Link.IsMedia should have comment or be unexported (golint)
    • Line 599: warning: exported method Link.IsPlain should have comment or be unexported (golint)
    • Line 600: warning: exported method Link.IsNaked should have comment or be unexported (golint)
    • Line 601: warning: exported method Link.IsStandard should have comment or be unexported (golint)
    • Line 602: warning: exported method Link.Text should have comment or be unexported (golint)
    • Line 603: warning: exported method Link.Target should have comment or be unexported (golint)
    • Line 604: warning: exported method Link.Title should have comment or be unexported (golint)
    • Line 606: warning: exported type Code should have comment or be unexported (golint)
    • Line 611: warning: exported type CodeType should have comment or be unexported (golint)
    • Line 614: warning: exported const CodeInline should have comment (or a comment on this block) or be unexported (golint)
    • Line 620: warning: exported function NewCode should have comment or be unexported (golint)
    • Line 621: warning: exported method Code.Clone should have comment or be unexported (golint)
    • Line 629: warning: exported method Code.IsNil should have comment or be unexported (golint)
    • Line 630: warning: exported method Code.IsBlock should have comment or be unexported (golint)
    • Line 631: warning: exported method Code.Literal should have comment or be unexported (golint)
    • Line 637: warning: exported method Code.Format should have comment or be unexported (golint)
    • Line 645: warning: exported method Code.FormatMarkdown should have comment or be unexported (golint)
    • Line 652: warning: exported type Twt should have comment or be unexported (golint)
    • Line 669: warning: exported function NewTwt should have comment or be unexported (golint)
    • Line 682: warning: exported function ParseText should have comment or be unexported (golint)
    • Line 761: warning: exported method Twt.IsNil should have comment or be unexported (golint)
    • Line 762: warning: exported method Twt.FilePos should have comment or be unexported (golint)
    • Line 763: warning: exported method Twt.IsZero should have comment or be unexported (golint)
    • Line 764: warning: exported method Twt.Elems should have comment or be unexported (golint)
    • Line 765: warning: exported method Twt.Literal should have comment or be unexported (golint)
    • Line 773: warning: exported method Twt.LiteralText should have comment or be unexported (golint)
    • Line 783: warning: exported method Twt.Clone should have comment or be unexported (golint)
    • Line 786: warning: exported method Twt.CloneTwt should have comment or be unexported (golint)
    • Line 793: warning: exported method Twt.Text should have comment or be unexported (golint)
    • Line 800: warning: exported method Twt.GobEncode should have comment or be unexported (golint)
    • Line 812: warning: exported method Twt.GobDecode should have comment or be unexported (golint)
    • Line 836: warning: exported method Twt.MarshalJSON should have comment or be unexported (golint)
    • Line 864: warning: exported function DecodeJSON should have comment or be unexported (golint)
    • Line 898: warning: exported method Twt.Format should have comment or be unexported (golint)
    • Line 913: warning: exported method Twt.FormatTwt should have comment or be unexported (golint)
    • Line 916: warning: exported method Twt.FormatText should have comment or be unexported (golint)
    • Line 965: warning: exported method Twt.ExpandTags should have comment or be unexported (golint)
    • Line 973: warning: exported method Twt.ExpandMentions should have comment or be unexported (golint)
    • Line 998: warning: exported method Twt.Created should have comment or be unexported (golint)
    • Line 999: warning: exported method Twt.Mentions should have comment or be unexported (golint)
    • Line 1006: warning: exported method Twt.Tags should have comment or be unexported (golint)
    • Line 1013: warning: exported method Twt.Links should have comment or be unexported (golint)
    • Line 1020: warning: exported method Twt.Twter should have comment or be unexported (golint)
    • Line 1026: warning: exported method Twt.Hash should have comment or be unexported (golint)
    • Line 1051: warning: exported method Twt.Subject should have comment or be unexported (golint)
    • internal/config.go
    • Line 26: warning: exported var ErrConfigPathMissing should have comment or be unexported (golint)
    • Line 177: warning: exported method Config.IsLocalURL should have comment or be unexported (golint)
    • Line 183: warning: exported method Config.LocalURL should have comment or be unexported (golint)
    • Line 184: warning: exported method Config.ExternalURL should have comment or be unexported (golint)
    • Line 185: warning: exported method Config.UserURL should have comment or be unexported (golint)
    • Line 186: warning: exported method Config.URLForUser should have comment or be unexported (golint)
    • Line 187: warning: exported method Config.URLForTag should have comment or be unexported (golint)
    • Line 188: warning: exported method Config.URLForAvatar should have comment or be unexported (golint)
    • Line 189: warning: exported method Config.URLForMedia should have comment or be unexported (golint)
    • Line 325: warning: exported method Config.TemplatesFS should have comment or be unexported (golint)
    • internal/email.go
    • Line 16: warning: exported var ErrSendingEmail should have comment or be unexported (golint)
    • Line 112: warning: exported type MagicLinkAuthContext should have comment or be unexported (golint)
    • Line 120: warning: exported type PasswordResetEmailContext should have comment or be unexported (golint)
    • Line 128: warning: exported type SupportRequestEmailContext should have comment or be unexported (golint)
    • Line 138: warning: exported type DeletionCandidate should have comment or be unexported (golint)
    • Line 143: warning: exported type CandidatesByScore should have comment or be unexported (golint)
    • Line 149: warning: exported type CandidatesForDeletionEmailContext should have comment or be unexported (golint)
    • Line 157: warning: exported type ReportAbuseEmailContext should have comment or be unexported (golint)
    • Line 170: warning: exported type NewUserEmailContext should have comment or be unexported (golint)
    • Line 188: warning: exported function SendEmail should have comment or be unexported (golint)
    • Line 207: warning: exported function SendMagicLinkAuthEmail should have comment or be unexported (golint)
    • Line 235: warning: exported function SendPasswordResetEmail should have comment or be unexported (golint)
    • Line 263: warning: exported function SendSupportRequestEmail should have comment or be unexported (golint)
    • Line 293: warning: exported function SendCandidatesForDeletionEmail should have comment or be unexported (golint)
    • Line 321: warning: exported function SendReportAbuseEmail should have comment or be unexported (golint)
    • Line 354: warning: exported function SendNewUserEmail should have comment or be unexported (golint)
    • internal/features.go
    • Line 13: warning: exported type FeatureType should have comment or be unexported (golint)
    • Line 18: warning: exported const FeatureFoo should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported function AvailableFeatures should have comment or be unexported (golint)
    • Line 56: warning: exported function IsFeatureEnabled should have comment or be unexported (golint)
    • Line 64: warning: exported function FeatureFromString should have comment or be unexported (golint)
    • Line 79: warning: exported function FeaturesFromStrings should have comment or be unexported (golint)
    • Line 105: warning: exported function NewFeatureFlags should have comment or be unexported (golint)
    • Line 109: warning: exported method FeatureFlags.AsStrings should have comment or be unexported (golint)
    • Line 123: warning: exported method FeatureFlags.Disable should have comment or be unexported (golint)
    • Line 130: warning: exported method FeatureFlags.Reset should have comment or be unexported (golint)
    • Line 137: warning: exported method FeatureFlags.DisableAll should have comment or be unexported (golint)
    • Line 146: warning: exported method FeatureFlags.Enable should have comment or be unexported (golint)
    • Line 153: warning: exported method FeatureFlags.EnableAll should have comment or be unexported (golint)
    • Line 162: warning: exported method FeatureFlags.IsEnabled should have comment or be unexported (golint)
    • Line 169: warning: exported method FeatureFlags.MarshalJSON should have comment or be unexported (golint)
    • Line 179: warning: exported method FeatureFlags.UnmarshalJSON should have comment or be unexported (golint)
    • Line 201: warning: exported method FeatureFlags.MarshalYAML should have comment or be unexported (golint)
    • Line 211: warning: exported method FeatureFlags.UnmarshalYAML should have comment or be unexported (golint)
    • internal/webmention/webmention.go
    • Line 1: warning: package comment should be of the form "Package webmention ..." (golint)
    • Line 20: warning: exported type WebMention should have comment or be unexported (golint)
    • Line 28: warning: exported function New should have comment or be unexported (golint)
    • Line 54: warning: exported method WebMention.GetTargetEndpoint should have comment or be unexported (golint)
    • Line 89: warning: exported method WebMention.SendNotification should have comment or be unexported (golint)
    • Line 93: warning: exported method WebMention.WebMentionEndpoint should have comment or be unexported (golint)
    • internal/api.go
    • Line 31: warning: exported const TokenContextKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 800: warning: comment on exported method API.UploadMediaEndpoint should be of the form "UploadMediaEndpoint ..." (golint)
    • internal/base_task.go
    • Line 10: warning: exported type BaseTask should have comment or be unexported (golint)
    • Line 18: warning: exported function NewBaseTask should have comment or be unexported (golint)
    • Line 25: warning: exported method BaseTask.SetState should have comment or be unexported (golint)
    • Line 31: warning: exported method BaseTask.SetData should have comment or be unexported (golint)
    • Line 40: warning: exported method BaseTask.Done should have comment or be unexported (golint)
    • Line 48: warning: exported method BaseTask.Fail should have comment or be unexported (golint)
    • Line 56: warning: exported method BaseTask.Result should have comment or be unexported (golint)
    • Line 77: warning: exported method BaseTask.ID should have comment or be unexported (golint)
    • Line 84: warning: exported method BaseTask.State should have comment or be unexported (golint)
    • internal/webmention/header.go
    • Line 7: warning: exported type Link should have comment or be unexported (golint)
    • Line 21: warning: exported function GetHeaderLinks should have comment or be unexported (golint)
    • client/client.go
    • Line 20: warning: exported const APIVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: comment on exported var ErrServerError should be of the form "ErrServerError ..." (golint)
    • Line 142: warning: exported method Client.GetAndSetTwter should have comment or be unexported (golint)
    • internal/bitcask_store.go
    • Line 93: warning: exported method BitcaskStore.HasFeed should have comment or be unexported (golint)
    • Line 98: warning: exported method BitcaskStore.DelFeed should have comment or be unexported (golint)
    • Line 103: warning: exported method BitcaskStore.GetFeed should have comment or be unexported (golint)
    • Line 112: warning: exported method BitcaskStore.SetFeed should have comment or be unexported (golint)
    • Line 125: warning: exported method BitcaskStore.LenFeeds should have comment or be unexported (golint)
    • Line 138: warning: exported method BitcaskStore.SearchFeeds should have comment or be unexported (golint)
    • Line 153: warning: exported method BitcaskStore.GetAllFeeds should have comment or be unexported (golint)
    • Line 177: warning: exported method BitcaskStore.HasUser should have comment or be unexported (golint)
    • Line 182: warning: exported method BitcaskStore.DelUser should have comment or be unexported (golint)
    • Line 187: warning: exported method BitcaskStore.GetUser should have comment or be unexported (golint)
    • Line 196: warning: exported method BitcaskStore.SetUser should have comment or be unexported (golint)
    • Line 209: warning: exported method BitcaskStore.LenUsers should have comment or be unexported (golint)
    • Line 222: warning: exported method BitcaskStore.SearchUsers should have comment or be unexported (golint)
    • Line 237: warning: exported method BitcaskStore.GetAllUsers should have comment or be unexported (golint)
    • Line 261: warning: exported method BitcaskStore.GetSession should have comment or be unexported (golint)
    • Line 277: warning: exported method BitcaskStore.SetSession should have comment or be unexported (golint)
    • Line 288: warning: exported method BitcaskStore.HasSession should have comment or be unexported (golint)
    • Line 293: warning: exported method BitcaskStore.DelSession should have comment or be unexported (golint)
    • Line 298: warning: exported method BitcaskStore.SyncSession should have comment or be unexported (golint)
    • Line 308: warning: exported method BitcaskStore.LenSessions should have comment or be unexported (golint)
    • Line 321: warning: exported method BitcaskStore.GetAllSessions should have comment or be unexported (golint)
    • internal/templates.go
    • Line 48: warning: exported function CustomRelTime should have comment or be unexported (golint)
    • Line 52: warning: exported function CustomTime should have comment or be unexported (golint)
    • Line 56: warning: exported function LastSeenRelTime should have comment or be unexported (golint)
    • Line 60: warning: exported function LastSeenTime should have comment or be unexported (golint)
    • Line 64: warning: exported type TemplateManager should have comment or be unexported (golint)
    • Line 73: warning: exported function NewTemplateManager should have comment or be unexported (golint)
    • Line 120: warning: exported method TemplateManager.LoadTemplates should have comment or be unexported (golint)
    • Line 172: warning: exported method TemplateManager.Add should have comment or be unexported (golint)
    • Line 179: warning: exported method TemplateManager.Exec should have comment or be unexported (golint)
    • internal/video_task.go
    • Line 9: warning: exported type VideoTask should have comment or be unexported (golint)
    • Line 16: warning: exported function NewVideoTask should have comment or be unexported (golint)
    • Line 26: warning: exported method VideoTask.Run should have comment or be unexported (golint)
    • cmd/yarnc/ui.go
    • Line 32: warning: exported function PrintFollowee should have comment or be unexported (golint)
    • Line 39: warning: exported function PrintFolloweeRaw should have comment or be unexported (golint)
    • Line 43: warning: exported function PrintTwt should have comment or be unexported (golint)
    • Line 69: warning: exported function PrintTwtRaw should have comment or be unexported (golint)
    • internal/cache.go
    • Line 53: warning: comment on exported function FilterOutFeedsAndBotsFactory should be of the form "FilterOutFeedsAndBotsFactory ..." (golint)
    • Line 76: warning: exported function FilterByMentionFactory should have comment or be unexported (golint)
    • Line 87: warning: exported function GroupBySubject should have comment or be unexported (golint)
    • Line 95: warning: exported function GroupByTag should have comment or be unexported (golint)
    • Line 108: warning: exported function FilterTwtsBy should have comment or be unexported (golint)
    • Line 117: warning: exported function GroupTwtsBy should have comment or be unexported (golint)
    • Line 127: warning: exported function UniqTwts should have comment or be unexported (golint)
    • Line 138: warning: exported function ChunkTwts should have comment or be unexported (golint)
    • Line 155: warning: exported function FirstTwt should have comment or be unexported (golint)
    • Line 162: warning: exported function LastTwt should have comment or be unexported (golint)
    • Line 169: warning: exported function FirstNTwts should have comment or be unexported (golint)
    • Line 188: warning: exported function NewCached should have comment or be unexported (golint)
    • Line 192: warning: exported function NewCachedTwts should have comment or be unexported (golint)
    • Line 331: warning: exported type Peer should have comment or be unexported (golint)
    • Line 354: warning: comment on exported type PodInfo should be of the form "PodInfo ..." (with optional leading article) (golint)
    • Line 357: warning: exported method Peer.IsZero should have comment or be unexported (golint)
    • Line 361: warning: exported method Peer.ShouldRefresh should have comment or be unexported (golint)
    • Line 397: warning: exported method Peer.GetTwt should have comment or be unexported (golint)
    • Line 411: warning: exported type Peers should have comment or be unexported (golint)
    • Line 436: warning: exported method Cache.MarshalJSON should have comment or be unexported (golint)
    • Line 465: warning: exported function NewCache should have comment or be unexported (golint)
    • Line 672: warning: exported function MergeFollowers should have comment or be unexported (golint)
    • Line 1193: warning: exported method Cache.FeedCount should have comment or be unexported (golint)
    • Line 1200: warning: exported method Cache.TwtCount should have comment or be unexported (golint)
    • Line 1212: warning: exported function GetPeersForCached should have comment or be unexported (golint)
    • Line 1227: warning: exported function RandomSubsetOfPeers should have comment or be unexported (golint)
    • Line 1593: warning: exported method Cache.FollowedBy should have comment or be unexported (golint)
    • Line 1656: warning: exported method Cache.FilterBy should have comment or be unexported (golint)
    • Line 1660: warning: exported method Cache.GroupBy should have comment or be unexported (golint)
    • internal/context.go
    • Line 22: warning: exported type Link should have comment or be unexported (golint)
    • Line 27: warning: exported type Alternative should have comment or be unexported (golint)
    • Line 33: warning: exported type Alternatives should have comment or be unexported (golint)
    • Line 34: warning: exported type Links should have comment or be unexported (golint)
    • Line 36: warning: exported type Meta should have comment or be unexported (golint)
    • Line 46: warning: exported type Context should have comment or be unexported (golint)
    • Line 149: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 290: warning: exported method Context.Translate should have comment or be unexported (golint)
    • internal/feedsources.go
    • Line 16: warning: exported type FeedSource should have comment or be unexported (golint)
    • Line 23: warning: exported type FeedSourceMap should have comment or be unexported (golint)
    • Line 25: warning: exported type FeedSources should have comment or be unexported (golint)
    • Line 29: warning: exported function SaveFeedSources should have comment or be unexported (golint)
    • Line 53: warning: exported function LoadFeedSources should have comment or be unexported (golint)
    • Line 77: warning: exported function FetchFeedSources should have comment or be unexported (golint)
    • Line 123: warning: exported function ParseFeedSource should have comment or be unexported (golint)
    • internal/models.go
    • Line 24: warning: exported var ErrFeedAlreadyExists should have comment or be unexported (golint)
    • Line 81: warning: exported function CreateFeed should have comment or be unexported (golint)
    • Line 129: warning: exported function DeleteFeed should have comment or be unexported (golint)
    • Line 193: warning: exported function LoadUser should have comment or be unexported (golint)
    • Line 240: warning: exported method Feed.AddFollower should have comment or be unexported (golint)
    • Line 253: warning: exported method Feed.FollowedBy should have comment or be unexported (golint)
    • Line 258: warning: exported method Feed.Source should have comment or be unexported (golint)
    • Line 264: warning: exported method Feed.Profile should have comment or be unexported (golint)
    • Line 295: warning: exported method Feed.Twter should have comment or be unexported (golint)
    • Line 303: warning: exported method Feed.Bytes should have comment or be unexported (golint)
    • Line 320: warning: exported method User.IsZero should have comment or be unexported (golint)
    • Line 324: warning: exported method User.OwnsFeed should have comment or be unexported (golint)
    • Line 334: warning: exported method User.Is should have comment or be unexported (golint)
    • Line 338: warning: exported method User.Bookmark should have comment or be unexported (golint)
    • Line 346: warning: exported method User.Bookmarked should have comment or be unexported (golint)
    • Line 351: warning: exported method User.AddFollower should have comment or be unexported (golint)
    • Line 364: warning: exported method User.FollowedBy should have comment or be unexported (golint)
    • Line 369: warning: exported method User.Mute should have comment or be unexported (golint)
    • Line 376: warning: exported method User.Unmute should have comment or be unexported (golint)
    • Line 384: warning: exported method User.Follow should have comment or be unexported (golint)
    • Line 400: warning: exported method User.FollowAndValidate should have comment or be unexported (golint)
    • Line 443: warning: exported method User.Follows should have comment or be unexported (golint)
    • Line 448: warning: exported method User.FollowsAs should have comment or be unexported (golint)
    • Line 455: warning: exported method User.Unfollow should have comment or be unexported (golint)
    • Line 462: warning: exported method User.HasMuted should have comment or be unexported (golint)
    • Line 467: warning: exported method User.Source should have comment or be unexported (golint)
    • Line 473: warning: exported method User.Sources should have comment or be unexported (golint)
    • Line 482: warning: exported method User.Profile should have comment or be unexported (golint)
    • Line 546: warning: exported method User.Twter should have comment or be unexported (golint)
    • Line 554: warning: exported method User.Filter should have comment or be unexported (golint)
    • Line 570: warning: exported method User.Reply should have comment or be unexported (golint)
    • Line 585: warning: exported method User.Fork should have comment or be unexported (golint)
    • Line 600: warning: exported method User.DisplayTimeFormat should have comment or be unexported (golint)
    • Line 612: warning: exported method User.Bytes should have comment or be unexported (golint)
    • internal/session_store.go
    • Line 18: warning: exported function NewSessionStore should have comment or be unexported (golint)
    • Line 25: warning: exported method SessionStore.Count should have comment or be unexported (golint)
    • Line 29: warning: exported method SessionStore.GetSession should have comment or be unexported (golint)
    • Line 38: warning: exported method SessionStore.SetSession should have comment or be unexported (golint)
    • Line 47: warning: exported method SessionStore.HasSession should have comment or be unexported (golint)
    • Line 56: warning: exported method SessionStore.DelSession should have comment or be unexported (golint)
    • Line 67: warning: exported method SessionStore.SyncSession should have comment or be unexported (golint)
    • Line 78: warning: exported method SessionStore.GetAllSessions should have comment or be unexported (golint)
    • cmd/yarnc/renderer.go
    • Line 31: warning: exported const UNORDERED should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported type Console should have comment or be unexported (golint)
    • Line 44: warning: exported method Console.BlockCode should have comment or be unexported (golint)
    • Line 55: warning: exported method Console.BlockQuote should have comment or be unexported (golint)
    • Line 64: warning: exported method Console.BlockHtml should have comment or be unexported (golint)
    • Line 68: warning: exported method Console.Header should have comment or be unexported (golint)
    • Line 82: warning: exported method Console.HRule should have comment or be unexported (golint)
    • Line 86: warning: exported method Console.List should have comment or be unexported (golint)
    • Line 100: warning: exported method Console.ListItem should have comment or be unexported (golint)
    • Line 120: warning: exported method Console.Paragraph should have comment or be unexported (golint)
    • Line 131: warning: exported method Console.Table should have comment or be unexported (golint)
    • Line 132: warning: exported method Console.TableRow should have comment or be unexported (golint)
    • Line 133: warning: exported method Console.TableHeaderCell should have comment or be unexported (golint)
    • Line 134: warning: exported method Console.TableCell should have comment or be unexported (golint)
    • Line 135: warning: exported method Console.Footnotes should have comment or be unexported (golint)
    • Line 136: warning: exported method Console.FootnoteItem should have comment or be unexported (golint)
    • Line 138: warning: exported method Console.TitleBlock should have comment or be unexported (golint)
    • Line 146: warning: exported method Console.AutoLink should have comment or be unexported (golint)
    • Line 152: warning: exported method Console.CodeSpan should have comment or be unexported (golint)
    • Line 158: warning: exported method Console.DoubleEmphasis should have comment or be unexported (golint)
    • Line 164: warning: exported method Console.Emphasis should have comment or be unexported (golint)
    • Line 170: warning: exported method Console.Image should have comment or be unexported (golint)
    • Line 174: warning: exported method Console.LineBreak should have comment or be unexported (golint)
    • Line 178: warning: exported method Console.Link should have comment or be unexported (golint)
    • Line 187: warning: exported method Console.RawHtmlTag should have comment or be unexported (golint)
    • Line 193: warning: exported method Console.TripleEmphasis should have comment or be unexported (golint)
    • Line 199: warning: exported method Console.StrikeThrough should have comment or be unexported (golint)
    • Line 207: warning: exported method Console.FootnoteRef should have comment or be unexported (golint)
    • Line 210: warning: exported method Console.Entity should have comment or be unexported (golint)
    • Line 214: warning: exported method Console.NormalText should have comment or be unexported (golint)
    • Line 221: warning: exported method Console.DocumentHeader should have comment or be unexported (golint)
    • Line 224: warning: exported method Console.DocumentFooter should have comment or be unexported (golint)
    • Line 227: warning: exported method Console.GetFlags should have comment or be unexported (golint)

gocyclo85%

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.

    • internal/server.go
    • Line 383: warning: cyclomatic complexity 34 of function (*Server).processWebMention() is high (> 15) (gocyclo)
    • Line 824: warning: cyclomatic complexity 17 of function NewServer() is high (> 15) (gocyclo)
    • types/lextwt/ast.go
    • Line 701: warning: cyclomatic complexity 20 of function (*Twt).append() is high (> 15) (gocyclo)
    • Line 916: warning: cyclomatic complexity 18 of function (*Twt).FormatText() is high (> 15) (gocyclo)
    • internal/api.go
    • Line 801: warning: cyclomatic complexity 19 of function (*API).UploadMediaEndpoint() is high (> 15) (gocyclo)
    • internal/cache.go
    • Line 863: warning: cyclomatic complexity 44 of function (*Cache).FetchFeeds() is high (> 15) (gocyclo)
    • Line 753: warning: cyclomatic complexity 17 of function (*Cache).DetectPodFromUserAgent() is high (> 15) (gocyclo)
    • Line 1289: warning: cyclomatic complexity 17 of function (*Cache).Refresh() is high (> 15) (gocyclo)
    • types/lextwt/parser.go
    • Line 178: warning: cyclomatic complexity 39 of function (*parser).ParseDateTime() is high (> 15) (gocyclo)
    • Line 711: warning: cyclomatic complexity 28 of function (*parser).ParseLink() is high (> 15) (gocyclo)
    • Line 420: warning: cyclomatic complexity 24 of function (*parser).ParseMention() is high (> 15) (gocyclo)
    • Line 352: warning: cyclomatic complexity 16 of function (*parser).ParseElem() is high (> 15) (gocyclo)
    • internal/utils.go
    • Line 2059: warning: cyclomatic complexity 30 of function (*URLProcessor).RenderNodeHook() is high (> 15) (gocyclo)
    • Line 2246: warning: cyclomatic complexity 19 of function FormatTwtContextFactory() is high (> 15) (gocyclo)
    • Line 901: warning: cyclomatic complexity 19 of function ProcessImage() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell94%

Misspell Finds commonly misspelled English words

    • types/lextwt/parser_test.go
    • Line 267: warning: "happend" is a misspelling of "happened" (misspell)
    • Line 267: warning: "truely" is a misspelling of "truly" (misspell)
    • Line 268: warning: "happend" is a misspelling of "happened" (misspell)
    • Line 268: warning: "truely" is a misspelling of "truly" (misspell)
    • Line 465: warning: "witn" is a misspelling of "with" (misspell)
    • Line 470: warning: "witn" is a misspelling of "with" (misspell)
    • internal/manage_handlers.go
    • Line 308: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 324: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 334: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 348: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 361: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 372: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 386: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 396: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 411: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 421: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 432: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 440: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 482: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 493: warning: "occured" is a misspelling of "occurred" (misspell)