Run in transaction (#36)
* test: also testing on go1.13
Signed-off-by: Geoffrey Bauduin <[email protected]>
* chore: moved to go.mod
Signed-off-by: Geoffrey Bauduin <[email protected]>
* feat: providing DBProvider.RunInTransaction function
The DBProvider interface is now able to run a function inside a transaction, commiting at the end and
performing a rollback if an error occured
Signed-off-by: Geoffrey Bauduin <[email protected]>
* test: drop testing on go < 1.12
Signed-off-by: Geoffrey Bauduin <[email protected]>