Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func FetchAndSortArticles ¶
func NewModel ¶
func NewModel(rssService *services.RSSService, articleService *services.ArticleService) (model, error)
func RefreshMsg ¶
Types ¶
type ArticleInfo ¶
type ArticleInfo struct {
Title string
FeedName string
Authors string
URL string
PublishedTime *time.Time
CleanedText string
}
func (ArticleInfo) Render ¶
func (a ArticleInfo) Render() string
type RefreshDone ¶
type RefreshDone struct {
// contains filtered or unexported fields
}
type StartRefresh ¶
type StartRefresh struct{}
Click to show internal directories.
Click to hide internal directories.