[no-relnotes] Update moq to use rm and goimports

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2025-03-12 13:11:37 +02:00
parent 57f077fce7
commit 2a9bae8e80
15 changed files with 16 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ type Major int
// Devices represents the set of devices under /proc/devices
//
//go:generate moq -stub -out devices_mock.go . Devices
//go:generate moq -rm -fmt=goimports -stub -out devices_mock.go . Devices
type Devices interface {
Exists(Name) bool
Get(Name) (Major, bool)