Skip to content

Commit

Permalink
feat: mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jun 28, 2024
1 parent 664f188 commit 175e6b3
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 164 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ server:
watch:
air
mock-gen:
mockgen -source ./internal/auth/auth.handler.go -destination ./mocks/auth/auth.handler.go
mockgen -source ./internal/auth/auth.service.go -destination ./mocks/auth/auth.service.go
mockgen -source ./internal/baan/baan.handler.go -destination ./mocks/baan/baan.handler.go
mockgen -source ./internal/baan/baan.service.go -destination ./mocks/baan/baan.service.go
mockgen -source ./internal/selection/selection.handler.go -destination ./mocks/selection/selection.handler.go
mockgen -source ./internal/pin/pin.service.go -destination ./mocks/pin/pin.service.go
mockgen -source ./internal/selection/selection.service.go -destination ./mocks/selection/selection.service.go
mockgen -source ./internal/selection/selection.client.go -destination ./mocks/selection/selection.client.go
mockgen -source ./internal/router/context.go -destination ./mocks/router/context.mock.go
Expand Down
7 changes: 5 additions & 2 deletions mocks/auth/auth.service.go

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

59 changes: 0 additions & 59 deletions mocks/baan/baan.handler.go

This file was deleted.

66 changes: 0 additions & 66 deletions mocks/baan/baan.service.go

This file was deleted.

33 changes: 0 additions & 33 deletions mocks/client/baan/baan.mock.go

This file was deleted.

66 changes: 66 additions & 0 deletions mocks/pin/pin.service.go

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

0 comments on commit 175e6b3

Please sign in to comment.