Skip to content

Commit

Permalink
all: update go version to 1.23 (#135)
Browse files Browse the repository at this point in the history
There are a mix of Go version `1.20` and `1.21` in this repository, and
this PR updates Go versions all to `1.23`.
  • Loading branch information
cuixq authored Dec 18, 2024
1 parent 3890182 commit f4a0242
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion api/v3/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module deps.dev/api/v3

go 1.20
go 1.23

require (
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
Expand Down
2 changes: 1 addition & 1 deletion api/v3alpha/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module deps.dev/api/v3alpha

go 1.20
go 1.23

require (
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
Expand Down
2 changes: 1 addition & 1 deletion examples/go/artifact_query/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/google/deps.dev/examples/go/artifact_query

go 1.20
go 1.23
2 changes: 1 addition & 1 deletion examples/go/dependencies_dot/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/google/deps.dev/examples/go/dependencies_dot

go 1.20
go 1.23
2 changes: 1 addition & 1 deletion examples/go/maven_parse_resolve/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/google/deps.dev/examples/go/maven_parse_resolve

go 1.21.1
go 1.23

require (
deps.dev/api/v3 v3.0.0-20240311054650-e1e6a3d70fb7
Expand Down
2 changes: 1 addition & 1 deletion examples/go/package_lock_licenses/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/google/deps.dev/examples/go/package_lock_licenses

go 1.20
go 1.23

require (
deps.dev/api/v3alpha v0.0.0-20240701033337-efe6530670b9
Expand Down
1 change: 1 addition & 0 deletions examples/go/package_lock_licenses/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
Expand Down
2 changes: 1 addition & 1 deletion examples/go/package_lock_licenses_batch/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/google/deps.dev/examples/go/package_lock_licenses_batch

go 1.20
go 1.23
2 changes: 1 addition & 1 deletion examples/go/resolve/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/google/deps.dev/examples/go/resolve

go 1.21.1
go 1.23

replace (
deps.dev/util/maven => ../../../util/maven
Expand Down
2 changes: 0 additions & 2 deletions examples/go/resolve/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
deps.dev/api/v3 v3.0.0-20240311054650-e1e6a3d70fb7 h1:dleK4xoNCfxlfknQNPR1DmSdVErIAWlEzxtTImCqWXI=
deps.dev/api/v3 v3.0.0-20240311054650-e1e6a3d70fb7/go.mod h1:k3RHZwAw7ijqoXmVDvcO7ikeTwTC4jtmhCDathV+IKE=
deps.dev/util/maven v0.0.0-20241203055422-1ee2cd4be494 h1:owERvoPo5Ma5nMlBFXRNji18xF0DpvzAQd+TRv1CVBw=
deps.dev/util/maven v0.0.0-20241203055422-1ee2cd4be494/go.mod h1:SBW3EribdkZYk6zxi5oVn/ZECvi4ixb7EGgEWfSimNk=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
Expand Down
2 changes: 1 addition & 1 deletion util/maven/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module deps.dev/util/maven

go 1.21.1
go 1.23

replace deps.dev/util/semver => ../semver

Expand Down
2 changes: 1 addition & 1 deletion util/resolve/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module deps.dev/util/resolve

go 1.21.1
go 1.23

replace (
deps.dev/util/maven => ../maven
Expand Down
2 changes: 1 addition & 1 deletion util/semver/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module deps.dev/util/semver

go 1.21.1
go 1.23

0 comments on commit f4a0242

Please sign in to comment.