rss

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Title       string `xml:"title"`
	Link        string `xml:"link"`
	Language    string `xml:"language"`
	Description string `xml:"description"`
	Items       []Item `xml:"item"`
}

type GUID added in v1.7.10

type GUID struct {
	IsPermaLink bool   `xml:"isPermaLink,attr"`
	Value       string `xml:",chardata"`
}

type Item

type Item struct {
	Title       string     `xml:"title"`
	Description string     `xml:"description"`
	PubDate     RFC822Time `xml:"pubDate"`
	GUID        GUID       `xml:"guid"`
	Link        string     `xml:"link"`
}

type RFC822Time added in v1.7.10

type RFC822Time struct {
	time.Time
}

func (RFC822Time) MarshalXML added in v1.7.10

func (t RFC822Time) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*RFC822Time) UnmarshalXML added in v1.7.10

func (t *RFC822Time) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type RSS added in v1.7.0

type RSS struct{}

func (RSS) Init added in v1.7.0

func (RSS) Init()

func (RSS) Name added in v1.7.0

func (RSS) Name() string

Jump to

Keyboard shortcuts

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