Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feed ¶
Feed contains feed contents.
type Item ¶
type Item struct {
Title string // Feed item title
Link string // Feed item link
Short string // Feed item short content
Content string // Feed item full content
Tags []string // Feed item categories
Enclosure []Enclosure // Feed item enclosures
PublishedAt time.Time // Feed item publish time. May be zero, if publish time wasn't read
}
Item contains feed item content.
func (Item) GetPublishedAtOrNow ¶
GetPublishedAtOrNow returns item publishing time or current timestamp if publish time is empty
Click to show internal directories.
Click to hide internal directories.