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