mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: 'go generate' mockgen to use go tool wrapper (#25490)
Calling `mockgen` relies on the executable in the `$PATH`. Using `go tool` uses the one defined in `go.mod`
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Package agentconnmock contains a mock implementation of workspacesdk.AgentConn for use in tests.
|
||||
package agentconnmock
|
||||
|
||||
//go:generate mockgen -destination ./agentconnmock.go -package agentconnmock .. AgentConn
|
||||
//go:generate go tool mockgen -destination ./agentconnmock.go -package agentconnmock .. AgentConn
|
||||
|
||||
Reference in New Issue
Block a user