mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
51b531f5b3
Calling `mockgen` relies on the executable in the `$PATH`. Using `go tool` uses the one defined in `go.mod`
5 lines
242 B
Go
5 lines
242 B
Go
// package psmock contains a mocked implementation of the pubsub.Pubsub interface for use in tests
|
|
package psmock
|
|
|
|
//go:generate go tool mockgen -destination ./psmock.go -package psmock github.com/coder/coder/v2/coderd/database/pubsub Pubsub
|