Versions in this module Expand all Collapse all v0 v0.10.2 Jun 24, 2020 Changes in this version + func RegisterDB(db DB, name string) error + func UnregisterDB(name string) error + type DB interface + Begin func() (Tx, error) + Close func() error + Ping func() error + PingContext func(context.Context) error + Stats func() sql.DBStats + func NewDB(dbmap *gorp.DbMap) DB + type DBProvider interface + Close func() error + Commit func() error + DB func() gorp.SqlExecutor + Ping func() error + PingContext func(context.Context) error + Rollback func() error + RollbackTo func(SavePoint) error + Stats func() sql.DBStats + Tx func() error + TxSavepoint func() (SavePoint, error) + func NewDBProvider(name string) (DBProvider, error) + func NewTempDBProvider(db DB) DBProvider + type SavePoint uint + type Tx interface + Commit func() error + Rollback func() error + RollbackToSavepoint func(string) error + Savepoint func(string) error