package
Version:
v0.0.0-...-6f58fc2
Opens a new window with list of versions in this module.
Published: Aug 18, 2015
License: Apache-2.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
¶
Package rdf defines XML data structures for an RDF feed.
type Channel struct {
Title string `xml:"title"`
Description string `xml:"description"`
Link string `xml:"link"`
Date string `xml:"date"`
}
type Item struct {
About string `xml:"about,attr"`
Format string `xml:"format"`
Date string `xml:"date"`
Source string `xml:"source"`
Creator string `xml:"creator"`
Title string `xml:"title"`
Link string `xml:"link"`
Description string `xml:"description"`
Content string `xml:"encoded"`
}
type RDF struct {
XMLName xml.Name `xml:"RDF"`
Channel *Channel `xml:"channel"`
Item []*Item `xml:"item"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.