From bf48bf16ab8d622ce64ec6ce98d2c98f916b6303 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 7 Jan 2020 16:11:21 +0000 Subject: [PATCH] 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 --- README.md | 13 +++++++------ endpoints/endpoints.go | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0f443e6..8cfd606 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,16 @@ Or you can manually git clone the repository to 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/google](http://godoc.org/golang.org/x/oauth2/google) +* [godoc.org/golang.org/x/oauth2](https://godoc.org/golang.org/x/oauth2) +* [godoc.org/golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google) ## Policy for new packages -We no longer accept new provider-specific packages in this repo. For -defining provider endpoints and provider-specific OAuth2 behavior, we -encourage you to create packages elsewhere. We'll keep the existing -packages for compatibility. +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 +[godoc.org/golang.org/x/oauth2/endpoints](https://godoc.org/golang.org/x/oauth2/endpoints) +package. ## Report Issues / Send Patches diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index 028d21a..811e101 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // 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 import (