From bb319b44af3271a0e8ef47aecae8787a02f982e6 Mon Sep 17 00:00:00 2001 From: Paul Tyng Date: Sun, 21 Nov 2021 10:56:54 -0500 Subject: [PATCH] Fix generate to use tool --- unifi/device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unifi/device.go b/unifi/device.go index 2fded70..3e78dbf 100644 --- a/unifi/device.go +++ b/unifi/device.go @@ -5,7 +5,7 @@ import ( "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 const (