A pretty basic pastes cleanup procedure.

Fixes #16.
This commit is contained in:
2021-01-09 06:09:26 +05:00
parent 3ebff29113
commit 164a37d41f
10 changed files with 124 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ import (
)
type Interface interface {
DeletePaste(int) error
GetDatabaseConnection() *sql.DB
GetPaste(pasteID int) (*structs.Paste, error)
GetPagedPastes(page int) ([]structs.Paste, error)