A tests helper package that provides mocks for:
- dalgo/dal -
mocks4dal
You should have gomock
installed to regenerate mocks.
To regenerate mocks.go
file, run the following command:
$ mockgen -package mocks4dal github.com/dal-go/dalgo/dal Database,TransactionCoordinator,ReadTransactionCoordinator,ReadwriteTransactionCoordinator,Transaction,ReadTransaction,ReadwriteTransaction,ReadSession,WriteSession,ReadwriteSession > mocks4dal/mocks.go