Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Title string `xml:"title"` // <title>Atom-Powered Robots Run Amok</title> Link *Link `xml:"link,omitempty"` // <link href="http://example.org/2003/12/13/atom03" /> // <link rel="alternate" type="text/html" href="http://example.org/2003/12/13/atom03.html"/> // <link rel="edit" href="http://example.org/2003/12/13/atom03/edit"/> Id string `xml:"id"` // <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> Published string `xml:"published"` // <published>2003-11-09T17:23:02Z</published> Updated string `xml:"updated"` // <updated>2003-12-13T18:30:02Z</updated> // <summary>Some text.</summary> Author *EntryAuthor `xml:"author"` Content *EntryContent `xml:"content"` }
type EntryAuthor ¶
type EntryContent ¶
type Feed ¶
type Feed struct { XMLName xml.Name `xml:"feed"` // <feed xmlns="http://www.w3.org/2005/Atom"> XMLNamespace string `xml:"xmlns,attr"` Title string `xml:"title"` // <title>Example Feed</title> Link *Link `xml:"link,omitempty"` //<link href="http://example.org/" /> Updated string `xml:"updated"` // <updated>2003-12-13T18:30:02Z</updated> Entry *Entry `xml:"entry"` }
Click to show internal directories.
Click to hide internal directories.