Documentation ¶ Overview ¶ The savepoint is a nested transation manager which suppurts partial rollback. Index ¶ func NewDB(d *sql.DB) txmanager.DB Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDB ¶ func NewDB(d *sql.DB) txmanager.DB NewDB creates new transaction manager which suppurts partial rollback. TxBegin does SAVEPOINT, and TxCommit does RELEASE SAVEPOINT in a transaction. TxRollback does ROLLBACK TO SAVEPOINT and finish transactions excludes parents. Types ¶ This section is empty. Source Files ¶ View all Source files savepoint.go Click to show internal directories. Click to hide internal directories.