Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeterministicGUID ¶
NewDeterministicGUID returns a new GUID based on the provided values. Always returns the same input for any given input.
Types ¶
type Channel ¶
type Channel struct {
XMLName xml.Name `xml:"channel"`
Title string `xml:"title"`
Link string `xml:"link"`
Description string `xml:"description"`
Items []Item `xml:"item"`
}
Channel is an RSS Channel item.
type Feed ¶
type Feed struct {
XMLName xml.Name `xml:"rss"`
Version string `xml:"version,attr"`
Channels []Channel `xml:"channel"`
}
Feed is an RSS feed item.
type Item ¶
type Item struct {
XMLName xml.Name `xml:"item"`
GUID string `xml:"guid"`
PubDate Time `xml:"pubDate"`
Title string `xml:"title"`
Link string `xml:"link"`
Description string `xml:"description"`
}
Item is a feed item.
type Time ¶
Time represents a RFC2822 time, as used by RSS.
func (Time) MarshalXML ¶
func (*Time) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.