From 321f6f62119087061f594739d9564cc145d8e1b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Tue, 25 Feb 2025 20:32:25 +0100 Subject: [PATCH] inky: run stringer with "go run" (#95) Run stringer command (for code generation) using "go run" instead of "go install" to avoid affecting the developer's global $GOBIN. --- inky/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inky/types.go b/inky/types.go index a1f8467..711b247 100644 --- a/inky/types.go +++ b/inky/types.go @@ -4,7 +4,7 @@ package inky -//go:generate go install golang.org/x/tools/cmd/stringer@latest +//go:generate -command stringer go run golang.org/x/tools/cmd/stringer@latest //go:generate stringer -type=Model,Color,ImpressionColor -output types_string.go import (