commit | ac6658e9cb5802cebf9b8fd5f5d58f22bedb527f | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Wed Jul 05 11:36:45 2023 -0400 |
committer | Gopher Robot <gobot@golang.org> | Wed Jul 05 21:55:59 2023 +0000 |
tree | 796e34e51c3d754f62b77308666ba61fa0883e20 | |
parent | ec5679f607c139709bdc4c2608494d56b95611fe [diff] |
all: update go version to 1.18 Go versions 1.16 and 1.17 are long since unsupported per Go release policy (https://go.dev/doc/devel/release#policy). Updating go.mod's go statement to 1.18 makes it so that 'go mod tidy' doesn't include checksums needed for the full module graph loaded by Go 1.16¹ that were recently added in CL 507840. It also makes go fix remove the now-obsolete // +build lines². Done using cmd/go at go1.21rc2: $ go get go@1.18 go: upgraded go 1.17 => 1.18 $ go mod tidy $ go fix ./... google/appengine_gen1.go: fixed buildtag google/appengine_gen2_flex.go: fixed buildtag internal/client_appengine.go: fixed buildtag ¹ https://go.dev/ref/mod#graph-pruning ² https://go.dev/doc/go1.18#go-build-lines Change-Id: I6c6295adef1f5c64a196c2e66005763893efe5e7 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/507878 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cody Oss <codyoss@google.com> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
oauth2 package contains a client implementation for OAuth 2.0 spec.
go get golang.org/x/oauth2
Or you can manually git clone the repository to $(go env GOPATH)/src/golang.org/x/oauth2
.
See pkg.go.dev for further documentation and examples.
We no longer accept new provider-specific packages in this repo if all they do is add a single endpoint variable. If you just want to add a single endpoint, add it to the pkg.go.dev/golang.org/x/oauth2/endpoints package.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. In particular: