Skip to content

Commit 08078c5

Browse files
committed
README.md: change godoc.org links to pkg.go.dev
Links to godoc.org are changed to pkg.go.dev. The README badge alt text is changed to "Go Reference" to match the updated alt text generated by pkg.go.dev/badge. Change-Id: I935cbe03477131a4361a8ac7b5ba9fd3e378cbdd Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/276016 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Andrew Gerrand <[email protected]> Trust: Julie Qiu <[email protected]>
1 parent 9317641 commit 08078c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# OAuth2 for Go
22

3+
[![Go Reference](https://pkg.go.dev/badge/golang.org/x/oauth2.svg)](https://pkg.go.dev/golang.org/x/oauth2)
34
[![Build Status](https://travis-ci.org/golang/oauth2.svg?branch=master)](https://travis-ci.org/golang/oauth2)
4-
[![Go Package Documentation](https://pkg.go.dev/badge/golang.org/x/oauth2.svg)](https://pkg.go.dev/golang.org/x/oauth2)
55

66
oauth2 package contains a client implementation for OAuth 2.0 spec.
77

@@ -14,17 +14,17 @@ go get golang.org/x/oauth2
1414
Or you can manually git clone the repository to
1515
`$(go env GOPATH)/src/golang.org/x/oauth2`.
1616

17-
See godoc for further documentation and examples.
17+
See pkg.go.dev for further documentation and examples.
1818

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)
19+
* [pkg.go.dev/golang.org/x/oauth2](https://pkg.go.dev/golang.org/x/oauth2)
20+
* [pkg.go.dev/golang.org/x/oauth2/google](https://pkg.go.dev/golang.org/x/oauth2/google)
2121

2222
## Policy for new packages
2323

2424
We no longer accept new provider-specific packages in this repo if all
2525
they do is add a single endpoint variable. If you just want to add a
2626
single endpoint, add it to the
27-
[godoc.org/golang.org/x/oauth2/endpoints](https://godoc.org/golang.org/x/oauth2/endpoints)
27+
[pkg.go.dev/golang.org/x/oauth2/endpoints](https://pkg.go.dev/golang.org/x/oauth2/endpoints)
2828
package.
2929

3030
## Report Issues / Send Patches

0 commit comments

Comments
 (0)