Documentation ¶
Index ¶
- func AddForm(db *sql.DB, fields []Field, url, method string) (formNo int64, err error)
- func AddHistoryURL(db *sql.DB, url string) (err error)
- func AddLink(db *sql.DB, url string) (linkNo int64, err error)
- func GetFormID(db *sql.DB, fields []Field, url, method string) (formNo int64, err error)
- func GetHistoryUrl(db *sql.DB, historyID int64) (url string, err error)
- func GetLink(db *sql.DB, linkID int64) (url string, err error)
- func GetLinkID(db *sql.DB, url string) (linkID int64, err error)
- func OpenDB(path string) (db *sql.DB, err error)
- type Field
- type HistoryItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HistoryItem ¶
func GetHistory ¶
func GetHistory(db *sql.DB) (history []HistoryItem, err error)
Click to show internal directories.
Click to hide internal directories.