mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
jwt: rename example to avoid vet error
After CL 603476 we were getting jwt/example_test.go:13:1: ExampleJWTConfig refers to unknown identifier: JWTConfig Change-Id: I51bcd06a50a852150eb6e42743431207ee00300f Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/606878 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
b52af7d5b4
commit
16a9973a41
@ -10,7 +10,7 @@ import (
|
|||||||
"golang.org/x/oauth2/jwt"
|
"golang.org/x/oauth2/jwt"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleJWTConfig() {
|
func ExampleConfig() {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
conf := &jwt.Config{
|
conf := &jwt.Config{
|
||||||
Email: "xxx@developer.com",
|
Email: "xxx@developer.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user