aboutsummaryrefslogtreecommitdiff
path: root/xess
diff options
context:
space:
mode:
authorsoopyc <me@soopy.moe>2025-03-30 19:31:17 +0800
committerGitHub <noreply@github.com>2025-03-30 07:31:17 -0400
commitc896c63a0b8a917eef6be958a5cdcef6a4a48d61 (patch)
tree85a45c8e8dc31293236ebafd745003a97aa272e1 /xess
parentf9f5430daccbf141db4d5116e69517927baccd1c (diff)
downloadanubis-c896c63a0b8a917eef6be958a5cdcef6a4a48d61.tar.xz
anubis-c896c63a0b8a917eef6be958a5cdcef6a4a48d61.zip
xess: do not specify a version in `go:generate` (#164)
specifying a version breaks file generation with `-mod=vendor`, which is used by tooling like nixpkgs. this commit replaces the `go:generate` statement with ones found in other files (which builds successfully) for consistency. Signed-off-by: Cassie Cheung <me@soopy.moe>
Diffstat (limited to 'xess')
-rw-r--r--xess/xess.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xess/xess.go b/xess/xess.go
index fa87858..8f57d79 100644
--- a/xess/xess.go
+++ b/xess/xess.go
@@ -12,7 +12,7 @@ import (
"github.com/TecharoHQ/anubis/internal"
)
-//go:generate go run github.com/a-h/templ/cmd/templ@latest generate
+//go:generate go tool github.com/a-h/templ/cmd/templ generate
var (
//go:embed *.css static