Versions in this module Expand all Collapse all v1 v1.0.1 Mar 19, 2021 v1.0.0 Sep 5, 2020 Changes in this version + const LastRowIdSQL + var AlreadyClosed = errors.New("sqlite_db: Already Closed") + var NoResult = errors.New("sqlite_db: No result") + func DateToString(t time.Time) string + func LastRowId(conn *sqlite.Conn) (id int64, err error) + func LastRowIdFromStmt(stmt *sqlite.Stmt) (id int64, err error) + func NewDoer(db *Db) db.Doer + func StringToDate(s string) (t time.Time, e error) + type Action func(conn *sqlite.Conn) error + type Db struct + func New(conn *sqlite.Conn) *Db + func (d *Db) Close() error + func (d *Db) Do(action Action) error + type Doer interface + Do func(Action) error + func NewSqliteDoer(conn *sqlite.Conn) Doer + func ToDoer(db Doer, t db.Transaction) Doer