internal

package
v0.0.0-...-e0d6daf Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchFeed

func FetchFeed(url string) ([]byte, error)

Types

type Item

type Item struct {
	Title  string
	Link   string
	Author string
}

type Items

type Items []Item

func Diff

func Diff(from, to Items) (Items, error)

func ToItems

func ToItems(from *gofeed.Feed) Items

type Map

type Map[K comparable, V any] struct {
	// contains filtered or unexported fields
}

Map is a thread safe version of Go standard library's map.

func (*Map[K, V]) Get

func (m *Map[K, V]) Get(key K) V

func (*Map[K, V]) Insert

func (m *Map[K, V]) Insert(key K, value V)

Insert a value for a given key.

func (*Map[K, V]) Remove

func (m *Map[K, V]) Remove(key K)

Jump to

Keyboard shortcuts

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