package
Version:
v1.2.5
Opens a new window with list of versions in this module.
Published: Nov 28, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Content struct {
Encoded []byte `xml:",chardata"`
}
Content is a wrapper for content.
type Feed struct {
XMLName xml.Name
Items []Item `xml:"item"`
Channel struct {
Title string `xml:"title"`
Link string `xml:"link"`
Description string `xml:"description"`
PubDate string `xml:"pubDate"`
} `xml:"channel"`
}
Feed is the root wrapper.
type Item struct {
ID string `xml:"guid"`
Title string `xml:"title"`
Link string `xml:"link"`
Content Content `xml:"encoded"`
}
Item represents one entry.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.