Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RootFolder is the unique name of the root folder. // Any folders imported with this name will get merged with this folder. RootFolder = "<root>" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct {
// Primary key
ID int64
FeedID int64
FolderID int64
// Data fields
Title string
Summary string
Content string
Parsed string
Link string
Read bool
Date time.Time
Retrieved time.Time
// Metadata
SyntheticDate bool
}
Article is a single fetched article.
func (*Article) GetContents ¶
GetContents tries to return a non-empty content field for this article.
type Feed ¶
type Feed struct {
// Primary key
ID int64
FolderID int64
// Data fields
Title string
Description string
URL string
Link string
Latest time.Time
}
Feed is a single source of articles.
type Folder ¶
type Folder struct {
// Primary key
ID int64
// Data fields
Name string
Feed []Feed
Folders []Folder
}
Folder is a collection of feeds and subfolders.
Click to show internal directories.
Click to hide internal directories.