parser

package
v0.0.0-...-9831a62 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	Title string
	Link  string
	Image *Image
	Items []*Item
}

Feed contains relevant feed information.

func Parse

func Parse(data []byte, logger logger) (*Feed, error)

Parse returns a parsed feed.

type Image

type Image struct {
	URL string
}

Image is a feed's image.

type Item

type Item struct {
	Title   string
	Link    string
	Date    *time.Time
	Content *string
}

Item contains relevant feed item information.

Jump to

Keyboard shortcuts

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