persistence

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRssEntryPersistence

func NewRssEntryPersistence(db *gorm.DB) repository.RssEnrtyRepository

func NewSubscriptionPersistence

func NewSubscriptionPersistence(db *gorm.DB) repository.SubscriptionRepository

Types

type RssEntryPersistence

type RssEntryPersistence struct {
	// contains filtered or unexported fields
}

func (RssEntryPersistence) Create

func (r RssEntryPersistence) Create(entries []model.RssEntry) error

func (r RssEntryPersistence) saveRSSEntries(rssURL string, entries []*gofeed.Item) {

func (RssEntryPersistence) Find

func (r RssEntryPersistence) Find(entries []model.RssEntry) []model.RssEntry

Jump to

Keyboard shortcuts

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