Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mockery cleanup #13019

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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