Fix generate to use tool

This commit is contained in:
Paul Tyng
2021-11-21 10:56:54 -05:00
parent 3d8a23e785
commit bb319b44af

View File

@@ -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 (