dal-go / mocks4dalgo

Mocks for Dalgo - makes testing your code that uses Dalgo easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mocks4dalgo

A tests helper package that provides mocks for:

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

About

Mocks for Dalgo - makes testing your code that uses Dalgo easier

License:MIT License


Languages

Language:Go 100.0%