Skip to content

Commit

Permalink
go.mod: update minimum Go version to 1.23.0
Browse files Browse the repository at this point in the history
OVERVIEW

The Go project now unconditionally updates the minimum Go version for
golang.org/x/ dependencies to be at least 1.(N-1).0, where Go 1.N is
the most recent major Go release, and Go 1.(N-1) is the previous major
Go release.

Since this project uses dependencies associated with golang.org/x
repositories this project's go.mod file is also updated to reflect
the new minimum Go version.

CHANGES

1. go get go@1.23.0
2. go mod tidy
3. go mod vendor
4. go fix ./...
5. go mod edit -toolchain=none

REFERENCES

> all: upgrade go directive to at least 1.23.0 [generated]
>
> By now Go 1.24.0 has been released, and Go 1.22 is no longer supported
> per the Go Release Policy (https://go.dev/doc/devel/release#policy).
>
> For golang/go#69095.

See also:

- golang/crypto@89ff08d
- golang/sys@74cfc93
  • Loading branch information
atc0005 committed Mar 8, 2025
1 parent 2e2a18a commit d2b53ec
Show file tree
Hide file tree
Showing 36 changed files with 1 addition and 556 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module github.com/atc0005/check-whois

// Set module version to highest value used by dependencies
go 1.21
go 1.23.0

require (
github.com/atc0005/go-nagios v0.19.0
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d2b53ec

Please sign in to comment.