db

package
v0.0.0-...-51f2bb4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func CloseDB

func CloseDB()

func HasPostChanged

func HasPostChanged(link string, content string) (exists bool, updated bool, err error)

func InitDB

func InitDB(path ...string)

func IsFirstCycle

func IsFirstCycle() bool

func IsSitePosted

func IsSitePosted(link string, site string) (bool, error)

func MarkSitePosted

func MarkSitePosted(link string, site string) error

func StoreTootedPost

func StoreTootedPost(link string, content string, startupTime string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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