Rollbacker is the interface that wraps the Rollback method.
| 152 | type ( |
| 153 | // Rollbacker is the interface that wraps the Rollback method. |
| 154 | Rollbacker interface { |
| 155 | Rollback(context.Context, *Tx) error |
| 156 | } |
| 157 | |
| 158 | // The RollbackFunc type is an adapter to allow the use of ordinary |
| 159 | // function as a Rollbacker. If f is a function with the appropriate |
no outgoing calls
no test coverage detected