mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Calling `mockgen` relies on the executable in the `$PATH`. Using `go tool` uses the one defined in `go.mod`
5 lines
227 B
Go
5 lines
227 B
Go
// Package acmock contains a mock implementation of agentcontainers.Lister for use in tests.
|
|
package acmock
|
|
|
|
//go:generate go tool mockgen -destination ./acmock.go -package acmock .. ContainerCLI,DevcontainerCLI,SubAgentClient
|