Documentation ¶
Index ¶
- func AddFeedURL(db *gorm.DB, url string) error
- func AddPattern(db *gorm.DB, pattern dbmod.Pattern) error
- func AutoMigrate(db *gorm.DB) (err error)
- func Close(db *gorm.DB) error
- func GetAllPatterns(db *gorm.DB) ([]dbmod.Pattern, error)
- func GetFeedURLs(db *gorm.DB) ([]string, error)
- func Open(dsn string, conf *gorm.Config) (*gorm.DB, error)
- func RowsToStrings(rows *sql.Rows) []string
- func SupportsFTS5(db *sql.DB) (bool, error)
- func ToFeedUrls(feeds *[]*dbmod.Feed) []string
- func UpdateFeed(db *gorm.DB, feed dbmod.Feed) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMigrate ¶
func RowsToStrings ¶
func ToFeedUrls ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.