MCPcopy Create free account
hub / github.com/goinaction/code / channel

Struct channel

chapter2/sample/matchers/rss.go:38–51  ·  view source on GitHub ↗

channel defines the fields associated with the channel tag in the rss document.

Source from the content-addressed store, hash-verified

36 // channel defines the fields associated with the channel tag
37 // in the rss document.
38 channel struct {
39 XMLName xml.Name `xml:"channel"`
40 Title string `xml:"title"`
41 Description string `xml:"description"`
42 Link string `xml:"link"`
43 PubDate string `xml:"pubDate"`
44 LastBuildDate string `xml:"lastBuildDate"`
45 TTL string `xml:"ttl"`
46 Language string `xml:"language"`
47 ManagingEditor string `xml:"managingEditor"`
48 WebMaster string `xml:"webMaster"`
49 Image image `xml:"image"`
50 Item []item `xml:"item"`
51 }
52
53 // rssDocument defines the fields associated with the rss document.
54 rssDocument struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected