-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrss.gen.go
43 lines (37 loc) · 1.1 KB
/
rss.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Code generated by goxmlstruct. DO NOT EDIT.
package rss
type RSS struct {
Channel Channel `xml:"channel"`
}
type Channel struct {
Title string `xml:"title"`
Link []Link `xml:"link"`
Description string `xml:"description"`
Language string `xml:"language"`
PubDate string `xml:"pubDate"`
LastBuildDate string `xml:"lastBuildDate"`
Docs string `xml:"docs"`
Generator string `xml:"generator"`
ManagingEditor string `xml:"managingEditor"`
WebMaster string `xml:"webMaster"`
Item []Item `xml:"item"`
}
type Link struct {
Href *string `xml:"href,attr"`
Rel *string `xml:"rel,attr"`
Type *string `xml:"type,attr"`
CharData string `xml:",chardata"`
}
type Item struct {
Title *string `xml:"title"`
Link Link `xml:"link"`
Description string `xml:"description"`
PubDate string `xml:"pubDate"`
GUID string `xml:"guid"`
Enclosure *Enclosure `xml:"enclosure"`
}
type Enclosure struct {
Length int `xml:"length,attr"`
Type string `xml:"type,attr"`
URL string `xml:"url,attr"`
}