Transactor is a mock of dbtx.Transactor interface.
| 10 | |
| 11 | // Transactor is a mock of dbtx.Transactor interface. |
| 12 | type Transactor struct { |
| 13 | mock.Mock |
| 14 | } |
| 15 | |
| 16 | // WithTx provides a mock function |
| 17 | func (m *Transactor) WithTx(ctx context.Context, fn func(context.Context) error, opts ...interface{}) error { |
nothing calls this directly
no outgoing calls
no test coverage detected