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
221 B
Go
5 lines
221 B
Go
// Package agentconnmock contains a mock implementation of workspacesdk.AgentConn for use in tests.
|
|
package agentconnmock
|
|
|
|
//go:generate go tool mockgen -destination ./agentconnmock.go -package agentconnmock .. AgentConn
|