Skip to content

Commit

Permalink
refactor: Changing mockgen syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
  • Loading branch information
ViBiOh committed Aug 9, 2022
1 parent 7d19617 commit 56340fb
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 1,141 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ style:
mocks:
find . -name "mocks" -type d -exec rm -r "{}" \+
go generate -run mockgen $(PACKAGES)
mockgen -destination pkg/mocks/pgx.go -mock_names Row=Row,Rows=Rows -package mocks github.com/jackc/pgx/v4 Row,Rows
mockgen -destination pkg/mocks/pgx.go -package mocks -mock_names Row=Row,Rows=Rows github.com/jackc/pgx/v4 Row,Rows

## test: Shortcut to launch all the test tasks (unit, functional and integration).
.PHONY: test
Expand Down
65 changes: 0 additions & 65 deletions pkg/mocks/auth_service.go

This file was deleted.

12 changes: 6 additions & 6 deletions pkg/mocks/database.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 0 additions & 51 deletions pkg/mocks/generic_provider.go

This file was deleted.

66 changes: 0 additions & 66 deletions pkg/mocks/helm_provider.go

This file was deleted.

Loading

0 comments on commit 56340fb

Please sign in to comment.