package
Version:
v0.0.0-...-ee9a3f6
Opens a new window with list of versions in this module.
Published: Aug 9, 2014
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Category struct {
Term string `xml:"term,attr"`
Scheme string `xml:"scheme,attr"`
Label string `xml:"label,attr"`
}
type Content struct {
Type string `xml:"type,attr"`
Src string `xml:"src,attr"`
Text string `xml:",chardata"`
}
type Entry struct {
Id string `xml:"id"`
Title string `xml:"title"`
Updated time.Time `xml:"updated"`
Authors []Person `xml:"author"`
Content Content `xml:"content"`
Links []Link `xml:"link"`
Summary Text `xml:"summary"`
Categories []Category `xml:"category"`
Contributors []Person `xml:"contributor"`
Published time.Time `xml:"published"`
Source Metadata `xml:"source"`
Rights Text `xml:"rights"`
}
type Feed struct {
Metadata
XMLName xml.Name `xml:"http://www.w3.org/2005/Atom feed"`
Source Metadata `xml:"source"`
Entries []Entry `xml:"entry"`
}
type Generator struct {
Uri string `xml:"uri,attr"`
Version string `xml:"version,attr"`
Text string `xml:",chardata"`
}
type Link struct {
Href string `xml:"href,attr"`
Rel string `xml:"rel,attr"`
Type string `xml:"type,attr"`
Hreflang string `xml:"hreflang,attr"`
Title string `xml:"title,attr"`
Length string `xml:"length,attr"`
}
type Metadata struct {
Id string `xml:"id"`
Title string `xml:"title"`
Updated time.Time `xml:"updated"`
Authors []Person `xml:"author"`
Links []Link `xml:"link"`
Categories []Category `xml:"category"`
Contributors []Person `xml:"contributor"`
Generator Generator `xml:"generator"`
Icon string `xml:"icon"`
Logo string `xml:"logo"`
Rights Text `xml:"rights"`
Subtitle Text `xml:"subtitle"`
}
type Person struct {
Name string `xml:"name"`
Uri string `xml:"uri"`
Email string `xml:"email"`
}
type Text struct {
Type string `xml:"type,attr"`
Text string `xml:",chardata"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.