commit | 839de2255f57ac5af1321327f280f79471825bc9 | [log] [tgz] |
---|---|---|
author | Cody Oss <codyoss@google.com> | Mon May 08 16:10:46 2023 -0500 |
committer | Gopher Robot <gobot@golang.org> | Mon May 08 21:24:50 2023 +0000 |
tree | 9317b1604e5ca6df525b9b36c4089ebea0d7df48 | |
parent | 0690208dba57758e07883623ca6933bb53812875 [diff] |
google: don't check for IsNotExist for well-known file There are cases when reading this file that a ENOTDIR is returned. Because of this it is safer to just fall-back when any error happens from reading the gcloud file. Change-Id: Ie8e45ad508643e900adb5c9787907aaa50cceb5d Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/493695 Run-TryBot: Cody Oss <codyoss@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Auto-Submit: Cody Oss <codyoss@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: