+
Skip to content

Set Go 1.22 as minimum required version #3304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

go-github is a Go client library for accessing the [GitHub API v3][].

Currently, **go-github requires Go version 1.13 or greater**. go-github tracks
Currently, **go-github requires Go version 1.22 or greater**. go-github tracks
[Go's version support policy][support-policy]. We do our best not to break
older versions of Go if we don't have to, but due to tooling constraints, we
don't always test older versions.
Expand Down
4 changes: 1 addition & 3 deletions example/newreposecretwithlibsodium/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module newreposecretwithlibsodium

go 1.21

toolchain go1.22.0
go 1.22.0

require (
github.com/GoKillers/libsodium-go v0.0.0-20171022220152-dd733721c3cb
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ require (
github.com/google/go-querystring v1.1.0
)

go 1.21
go 1.22.0
4 changes: 1 addition & 3 deletions scrape/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/google/go-github/scrape

go 1.21

toolchain go1.22.0
go 1.22.0

require (
github.com/PuerkitoBio/goquery v1.9.2
Expand Down
4 changes: 1 addition & 3 deletions tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module tools

go 1.21

toolchain go1.22.0
go 1.22.0

require (
github.com/alecthomas/kong v1.2.1
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载