all: gofmt

Gofmt to update doc comments to the new formatting.

For golang/go#51082.

Change-Id: Id333e34e0c5cd0bea79dcf5dd51130639597b2ee
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/399616
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
Russ Cox 2022-04-11 13:11:36 -04:00 committed by Gopher Robot
parent 6242fa9171
commit 9780585627
3 changed files with 21 additions and 22 deletions

View File

@ -15,14 +15,14 @@
// For more information on using workload identity federation, refer to // For more information on using workload identity federation, refer to
// https://cloud.google.com/iam/docs/how-to#using-workload-identity-federation. // https://cloud.google.com/iam/docs/how-to#using-workload-identity-federation.
// //
// OAuth2 Configs // # OAuth2 Configs
// //
// Two functions in this package return golang.org/x/oauth2.Config values from Google credential // Two functions in this package return golang.org/x/oauth2.Config values from Google credential
// data. Google supports two JSON formats for OAuth2 credentials: one is handled by ConfigFromJSON, // data. Google supports two JSON formats for OAuth2 credentials: one is handled by ConfigFromJSON,
// the other by JWTConfigFromJSON. The returned Config can be used to obtain a TokenSource or // the other by JWTConfigFromJSON. The returned Config can be used to obtain a TokenSource or
// create an http.Client. // create an http.Client.
// //
// Workload Identity Federation // # Workload Identity Federation
// //
// Using workload identity federation, your application can access Google Cloud // Using workload identity federation, your application can access Google Cloud
// resources from Amazon Web Services (AWS), Microsoft Azure or any identity // resources from Amazon Web Services (AWS), Microsoft Azure or any identity
@ -51,8 +51,7 @@
// return the OIDC token. The response can be in plain text or JSON. // return the OIDC token. The response can be in plain text or JSON.
// Additional required request headers can also be specified. // Additional required request headers can also be specified.
// //
// // # Credentials
// Credentials
// //
// The Credentials type represents Google credentials, including Application Default // The Credentials type represents Google credentials, including Application Default
// Credentials. // Credentials.