model

package
v0.0.0-...-6d94077 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlogRoll

type BlogRoll struct {
	ID          string
	Title       string
	Tag         string
	Category    string
	DateCreated time.Time
	Feeds       []Feed
}

type Feed

type Feed struct {
	ID          string `json:"id" clover:"id"`
	Title       string `json:"title" clover:"title"`
	Description string `json:"description" clover:"description"`
	Text        string `json:"text" clover:"text"`
	Type        string `json:"type" clover:"type"`
	HtmlUrl     string `json:"html_url" clover:"html_url"`
	XMLUrl      string `json:"xml_url" clover:"xml_url"`
}

type Opml

type Opml struct {
	XMLName xml.Name `xml:"opml"`
	Text    string   `xml:",chardata"`
	Version string   `xml:"version,attr"`
	Head    OpmlHead `xml:"head"`
	Body    OpmlBody `xml:"body"`
}

type OpmlBody

type OpmlBody struct {
	Text         string       `xml:",chardata"`
	OutlineOuter OutlineOuter `xml:"outline"`
}

type OpmlHead

type OpmlHead struct {
	Text       string `xml:",chardata"`
	Title      string `xml:"title"`
	OwnerEmail string `xml:"ownerEmail"`
}

type OpmlOutline

type OpmlOutline struct {
	Text     string `xml:",chardata"`
	Type     string `xml:"type,attr"`
	XmlUrl   string `xml:"xmlUrl,attr"`
	AttrText string `xml:"text,attr"`
	HtmlUrl  string `xml:"htmlUrl,attr"`
	Title    string `xml:"title,attr"`
}

type OutlineOuter

type OutlineOuter struct {
	Text     string        `xml:",chardata"`
	AttrText string        `xml:"text,attr"`
	Title    string        `xml:"title,attr"`
	Outline  []OpmlOutline `xml:"outline"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL