Skip to content

Commit 5022809

Browse files
authored
Remove usage of golang.org/x/exp (#706)
1 parent 80a0001 commit 5022809

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ require (
4848
github.com/sirupsen/logrus v1.9.3
4949
github.com/stretchr/testify v1.10.0
5050
go.uber.org/mock v0.5.0
51-
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac
5251
golang.org/x/text v0.22.0
5352
golang.org/x/tools v0.30.0
5453
k8s.io/api v0.31.1
@@ -133,6 +132,7 @@ require (
133132
go.uber.org/multierr v1.11.0 // indirect
134133
go.uber.org/zap v1.27.0 // indirect
135134
golang.org/x/crypto v0.33.0 // indirect
135+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
136136
golang.org/x/mod v0.23.0 // indirect
137137
golang.org/x/net v0.35.0 // indirect
138138
golang.org/x/oauth2 v0.25.0 // indirect

pkg/codegen/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"fmt"
88
"os"
99
"path/filepath"
10+
"slices"
1011
"strings"
1112

12-
"golang.org/x/exp/slices"
1313
"golang.org/x/text/cases"
1414
"golang.org/x/text/language"
1515
)

pkg/resources/provisioning.cattle.io/v1/cluster/mutator.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import (
66
"encoding/json"
77
"fmt"
88
"reflect"
9+
"slices"
910
"strings"
1011

11-
"golang.org/x/exp/slices"
12-
1312
"github.com/blang/semver"
1413
v1 "github.com/rancher/rancher/pkg/apis/provisioning.cattle.io/v1"
1514
rkev1 "github.com/rancher/rancher/pkg/apis/rke.cattle.io/v1"

0 commit comments

Comments
 (0)