Skip to content

Commit

Permalink
Add generate command for non-tracked mock
Browse files Browse the repository at this point in the history
(Note using source mode was compulsory due to CGO)
  • Loading branch information
qdm12 committed Dec 30, 2024
1 parent ab1af2e commit ea45e37
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 5 deletions.
53 changes: 48 additions & 5 deletions warp/aggregator/mock_signature_getter.go

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

3 changes: 3 additions & 0 deletions warp/aggregator/mocks_generate_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package aggregator

//go:generate go run go.uber.org/mock/[email protected] -package=$GOPACKAGE -source=signature_getter.go -destination=mock_signature_getter.go

0 comments on commit ea45e37

Please sign in to comment.