Skip to content

Commit

Permalink
TxManagerMock
Browse files Browse the repository at this point in the history
  • Loading branch information
Danya97i committed Nov 17, 2024
1 parent ce61b00 commit 08d4f52
Show file tree
Hide file tree
Showing 2 changed files with 395 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/db/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ package db

//go:generate sh -c "rm -rf mocks && mkdir -p mocks"
//go:generate ../../bin/minimock -i Transactor -o ./mocks/ -s "_minimock.go"
//go:generate ../../bin/minimock -i TxManager -o ./mocks/ -s "_minimock.go"
//go:generate ../../bin/minimock -i github.com/jackc/pgx/v4.Tx -o ./mocks/ -s "_minimock.go"
Loading

0 comments on commit 08d4f52

Please sign in to comment.