Skip to content

Commit dffdbc5

Browse files
committed
ensure we install goimport for make format
1 parent fdd48ae commit dffdbc5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ require (
2121
github.com/stretchr/testify v1.11.1
2222
go.opentelemetry.io/otel v1.38.0
2323
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.38.0
24+
golang.org/x/tools v0.38.0
2425
k8s.io/api v0.34.2
2526
k8s.io/apiextensions-apiserver v0.34.2
2627
k8s.io/apimachinery v0.34.2
@@ -187,7 +188,6 @@ require (
187188
golang.org/x/term v0.37.0 // indirect
188189
golang.org/x/text v0.31.0 // indirect
189190
golang.org/x/time v0.13.0 // indirect
190-
golang.org/x/tools v0.38.0 // indirect
191191
google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 // indirect
192192
google.golang.org/genproto/googleapis/rpc v0.0.0-20250929231259-57b25ae835d4 // indirect
193193
google.golang.org/grpc v1.75.1 // indirect

tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
package tools
88

99
import (
10+
_ "golang.org/x/tools/cmd/goimports"
1011
_ "k8s.io/code-generator"
1112
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
1213
)

0 commit comments

Comments
 (0)