mirror of
https://github.com/coder/coder.git
synced 2026-09-23 14:03:57 +08:00
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
|