Use gofumpt from github

This commit is contained in:
9seconds
2026-02-16 19:22:37 +01:00
parent 3066672353
commit 4c029fc683
+1 -1
View File
@@ -1,6 +1,7 @@
[tools] [tools]
go = "latest" go = "latest"
"go:golang.org/x/tools/gopls" = "latest" "go:golang.org/x/tools/gopls" = "latest"
"go:mvdan.cc/gofumpt" = "latest"
[vars] [vars]
fuzzflags = "-fuzztime=120s" fuzzflags = "-fuzztime=120s"
@@ -96,6 +97,5 @@ run = "pkgsite -http 0.0.0.0:10000"
[tasks.fmt] [tasks.fmt]
description = "Reformat source code" description = "Reformat source code"
tools.gofumpt = "latest"
sources = ["**/*.go"] sources = ["**/*.go"]
run = "gofumpt -w --extra ." run = "gofumpt -w --extra ."