mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
51b531f5b3
Calling `mockgen` relies on the executable in the `$PATH`. Using `go tool` uses the one defined in `go.mod`
6 lines
299 B
Go
6 lines
299 B
Go
// Package notificationsmock contains a mocked implementation of the
|
|
// notifications.Enqueuer interface for use in tests.
|
|
package notificationsmock
|
|
|
|
//go:generate go tool mockgen -destination ./notificationsmock.go -package notificationsmock github.com/coder/coder/v2/coderd/notifications Enqueuer
|