Fix generate to use tool
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:generate stringer -trimprefix DeviceState -type DeviceState
|
//go:generate go run golang.org/x/tools/cmd/stringer -trimprefix DeviceState -type DeviceState
|
||||||
type DeviceState int
|
type DeviceState int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
Reference in New Issue
Block a user