Documentation ¶
Index ¶
Constants ¶
View Source
const ( BusinessTopic Topic = "CAAqJggKIiBDQkFTRWdvSUwyMHZNRGx6TVdZU0FtVnVHZ0pWVXlnQVAB" TechnologyTopic = "CAAqJggKIiBDQkFTRWdvSUwyMHZNRGRqTVhZU0FtVnVHZ0pWVXlnQVAB" EntertainmentTopic = "CAAqJggKIiBDQkFTRWdvSUwyMHZNREpxYW5RU0FtVnVHZ0pWVXlnQVAB" SportsTopic = "CAAqJggKIiBDQkFTRWdvSUwyMHZNRFp1ZEdvU0FtVnVHZ0pWVXlnQVAB" ScienceTopic = "CAAqJggKIiBDQkFTRWdvSUwyMHZNRFp0Y1RjU0FtVnVHZ0pWVXlnQVAB" HealthTopic = "CAAqIQgKIhtDQkFTRGdvSUwyMHZNR3QwTlRFU0FtVnVLQUFQAQ" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { XMLName xml.Name `xml:"item"` Title string `xml:"title"` Link string `xml:"link"` Guid string `xml:"guid"` PubDate string `xml:"pubDate"` Description string `xml:"description"` Source string `xml:"source"` }
Article represents a google news item
type Channel ¶
type Channel struct { Generator string `xml:"generator"` Title string `xml:"title"` Link string `xml:"link"` Language string `xml:"language"` WebMaster string `xml:"webMaster"` Copyright string `xml:"copyright"` LastBuildDate string `xml:"lastBuildDate"` Description string `xml:"description"` Items []Article `xml:"item"` }
Channel represents a collection of google news items
Click to show internal directories.
Click to hide internal directories.