atom

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	ID      string `xml:"id"`
	Title   string `xml:"title"`
	Link    Link   `xml:"link"`
	Content []byte `xml:"content"`
}

Entry represents one entry.

type Feed

type Feed struct {
	XMLName xml.Name `xml:"feed"`
	Entries []Entry  `xml:"entry"`
}

Feed is the root wrapper.

type Link struct {
	XMLName xml.Name `xml:"link"`
	HRef    string   `xml:"href,attr"`
}

Link represents a <link>.

Jump to

Keyboard shortcuts

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