internal

package
v0.0.0-...-1e1ae6c Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao interface {
	AddFeed(url string) error
	GetFeeds() ([]Feed, error)
	Close() error
}

type Feed

type Feed struct {
	Id  int
	Url string
}

type SqliteDao

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

func NewSqliteDao

func NewSqliteDao(dsn string) (*SqliteDao, error)

func (SqliteDao) AddFeed

func (sd SqliteDao) AddFeed(url string) error

func (SqliteDao) Close

func (sd SqliteDao) Close() error

func (SqliteDao) GetFeeds

func (sd SqliteDao) GetFeeds() ([]Feed, error)

Jump to

Keyboard shortcuts

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