jwt: rename example to avoid vet error · golang/oauth2@16a9973 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 16a9973

ianlancetaylorgopherbot

authored and

committed

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/+/606878LUCI-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

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import (
10 10 "golang.org/x/oauth2/jwt"
11 11 )
12 12
13 -func ExampleJWTConfig() {
13 +func ExampleConfig() {
14 14 ctx := context.Background()
15 15 conf := &jwt.Config{
16 16 Email: "xxx@developer.com",