Skip to content

Commit bf48bf1

Browse files
committedJan 7, 2020
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>
1 parent eca8207 commit bf48bf1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed
 

Diff for: ‎README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ Or you can manually git clone the repository to
1616

1717
See godoc for further documentation and examples.
1818

19-
* [godoc.org/golang.org/x/oauth2](http://godoc.org/golang.org/x/oauth2)
20-
* [godoc.org/golang.org/x/oauth2/google](http://godoc.org/golang.org/x/oauth2/google)
19+
* [godoc.org/golang.org/x/oauth2](https://godoc.org/golang.org/x/oauth2)
20+
* [godoc.org/golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google)
2121

2222
## Policy for new packages
2323

24-
We no longer accept new provider-specific packages in this repo. For
25-
defining provider endpoints and provider-specific OAuth2 behavior, we
26-
encourage you to create packages elsewhere. We'll keep the existing
27-
packages for compatibility.
24+
We no longer accept new provider-specific packages in this repo if all
25+
they do is add a single endpoint variable. If you just want to add a
26+
single endpoint, add it to the
27+
[godoc.org/golang.org/x/oauth2/endpoints](https://godoc.org/golang.org/x/oauth2/endpoints)
28+
package.
2829

2930
## Report Issues / Send Patches
3031

Diff for: ‎endpoints/endpoints.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
// Package endpoints provides constants for using OAuth2 to access various service.
5+
// Package endpoints provides constants for using OAuth2 to access various services.
66
package endpoints
77

88
import (

0 commit comments

Comments
 (0)
Please sign in to comment.