Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { XMLName xml.Name `xml:"channel"` AtomLink *AtomLink Ttl int `xml:"ttl,omitempty"` LastBuildDate string `xml:"lastBuildDate,omitempty"` *Feed }
type Description ¶
type Feed ¶
type Feed struct { Title string `xml:"title"` // required Link string `xml:"link"` // required Description string `xml:"description"` // required Language string `xml:"language"` Copyright string `xml:"copyright"` Author string `xml:"author,omitempty"` PubDate string `xml:"pubDate,omitempty"` Created time.Time `xml:"-"` Updated time.Time `xml:"-"` Items []*Item }
type Item ¶
type Item struct { XMLName xml.Name `xml:"item"` Title string `xml:"title"` // required Link string `xml:"link"` // required Description *Description `xml:"description"` // required Author string `xml:"dc:creator,omitempty"` SimpleAuthor string `xml:"author,omitempty"` Category string `xml:"category,omitempty"` Comments string `xml:"comments,omitempty"` Enclosure *Enclosure Guid string `xml:"guid,omitempty"` Source string `xml:"source,omitempty"` PubDate string `xml:"pubDate,omitempty"` // created or updated Created time.Time `xml:"-"` }
Click to show internal directories.
Click to hide internal directories.