Skip to content

Commit

Permalink
mockery cleanup (#13019)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Apr 30, 2024
1 parent 77efb61 commit 60a800b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
golang 1.21.7
mockery 2.38.0
mockery 2.42.2
nodejs 16.16.0
pnpm 8.11.0
postgres 13.3
Expand Down
2 changes: 1 addition & 1 deletion common/types/mocks/subscription.go

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

3 changes: 2 additions & 1 deletion common/types/subscription.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package types

//go:generate mockery --quiet --name Subscription --output ./mocks/ --case=underscore

// Subscription represents an event subscription where events are
// delivered on a data channel.
// This is a generic interface for Subscription to represent used by clients.

type Subscription interface {
// Unsubscribe cancels the sending of events to the data channel
// and closes the error channel.
Expand Down

0 comments on commit 60a800b

Please sign in to comment.