Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Head ¶
type Head struct { Title string `xml:"title"` DateCreated string `xml:"dateCreated,omitempty"` DateModified string `xml:"dateModified,omitempty"` OwnerName string `xml:"ownerName,omitempty"` OwnerEmail string `xml:"ownerEmail,omitempty"` OwnerID string `xml:"ownerId,omitempty"` Docs string `xml:"docs,omitempty"` ExpansionState string `xml:"expansionState,omitempty"` VertScrollState string `xml:"vertScrollState,omitempty"` WindowTop string `xml:"windowTop,omitempty"` WindowBottom string `xml:"windowBottom,omitempty"` WindowLeft string `xml:"windowLeft,omitempty"` WindowRight string `xml:"windowRight,omitempty"` }
Head opml head
type OPML ¶
type OPML struct { XMLName xml.Name `xml:"opml"` Version string `xml:"version,attr"` Head Head `xml:"head"` Body Body `xml:"body"` }
OPML opml struct
func (OPML) GetFlattenOutlines ¶
GetFlattenOutlines make all outline at the same xml level
type Outline ¶
type Outline struct { Outlines []Outline `xml:"outline"` Text string `xml:"text,attr"` Type string `xml:"type,attr,omitempty"` IsComment string `xml:"isComment,attr,omitempty"` IsBreakpoint string `xml:"isBreakpoint,attr,omitempty"` Created string `xml:"created,attr,omitempty"` Category string `xml:"category,attr,omitempty"` XMLURL string `xml:"xmlUrl,attr,omitempty"` HTMLURL string `xml:"htmlUrl,attr,omitempty"` URL string `xml:"url,attr,omitempty"` Language string `xml:"language,attr,omitempty"` Title string `xml:"title,attr,omitempty"` Version string `xml:"version,attr,omitempty"` Description string `xml:"description,attr,omitempty"` }
Outline opml outline
Click to show internal directories.
Click to hide internal directories.