README, endpoints: fix a typo, update README to point people at endpoints

Change-Id: Ic49fabc47eebb932a1a56f1dd3e65dc3af539d59
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/213637
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Brad Fitzpatrick 2020-01-07 16:11:21 +00:00
parent eca82077e2
commit bf48bf16ab
2 changed files with 8 additions and 7 deletions

View File

@ -16,15 +16,16 @@ Or you can manually git clone the repository to
See godoc for further documentation and examples. See godoc for further documentation and examples.
* [godoc.org/golang.org/x/oauth2](http://godoc.org/golang.org/x/oauth2) * [godoc.org/golang.org/x/oauth2](https://godoc.org/golang.org/x/oauth2)
* [godoc.org/golang.org/x/oauth2/google](http://godoc.org/golang.org/x/oauth2/google) * [godoc.org/golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google)
## Policy for new packages ## Policy for new packages
We no longer accept new provider-specific packages in this repo. For We no longer accept new provider-specific packages in this repo if all
defining provider endpoints and provider-specific OAuth2 behavior, we they do is add a single endpoint variable. If you just want to add a
encourage you to create packages elsewhere. We'll keep the existing single endpoint, add it to the
packages for compatibility. [godoc.org/golang.org/x/oauth2/endpoints](https://godoc.org/golang.org/x/oauth2/endpoints)
package.
## Report Issues / Send Patches ## Report Issues / Send Patches

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Package endpoints provides constants for using OAuth2 to access various service. // Package endpoints provides constants for using OAuth2 to access various services.
package endpoints package endpoints
import ( import (