Skip to content

Commit 4601818

Browse files
authored
Merge pull request etcd-io#20722 from ivanvc/add-goimports-tool
Add golang.org/x/tools/cmd/goimports tool dependency
2 parents f8767bd + e5d708d commit 4601818

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/mod/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ require (
1717
go.etcd.io/gofail v0.2.0
1818
go.etcd.io/protodoc v0.0.0-20180829002748-484ab544e116
1919
go.etcd.io/raft/v3 v3.6.0
20+
golang.org/x/tools v0.36.0
2021
gotest.tools/gotestsum v1.13.0
2122
gotest.tools/v3 v3.5.2
2223
honnef.co/go/tools v0.6.1
@@ -241,7 +242,6 @@ require (
241242
golang.org/x/sys v0.36.0 // indirect
242243
golang.org/x/term v0.35.0 // indirect
243244
golang.org/x/text v0.29.0 // indirect
244-
golang.org/x/tools v0.36.0 // indirect
245245
google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect
246246
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 // indirect
247247
google.golang.org/grpc v1.75.1 // indirect

tools/mod/tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
_ "github.com/google/yamlfmt/cmd/yamlfmt"
3232
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
3333
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
34+
_ "golang.org/x/tools/cmd/goimports"
3435
_ "gotest.tools/gotestsum"
3536
_ "gotest.tools/v3"
3637
_ "honnef.co/go/tools/cmd/staticcheck"

0 commit comments

Comments
 (0)