Skip to content

Commit

Permalink
Import package golang.org/x/exp/slices in MMv1 go compiler (GoogleClo…
Browse files Browse the repository at this point in the history
  • Loading branch information
zli82016 authored and pengq-google committed May 21, 2024
1 parent c097f8a commit 1e9ac69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mmv1/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/GoogleCloudPlatform/magic-modules/mmv1
go 1.20

require (
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
gopkg.in/yaml.v2 v2.4.0
)
1 change: 1 addition & 0 deletions mmv1/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 h1:LfspQV/FYTatPTr/3HzIcmiUFH7PGP+OQ6mgDYo3yuQ=
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
3 changes: 2 additions & 1 deletion mmv1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import (
"os"
"path"
"path/filepath"
"slices"
"sort"
"strings"

"golang.org/x/exp/slices"

"github.com/GoogleCloudPlatform/magic-modules/mmv1/api"
"github.com/GoogleCloudPlatform/magic-modules/mmv1/google"
"github.com/GoogleCloudPlatform/magic-modules/mmv1/provider"
Expand Down

0 comments on commit 1e9ac69

Please sign in to comment.