mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
fixed NewTransport example code
This commit is contained in:
parent
32db53ef55
commit
e049d530c3
@ -162,7 +162,7 @@ func (c *Config) AuthCodeURL(state string) (authURL string) {
|
||||
// refresh token) in order to be able to do authorized requests.
|
||||
//
|
||||
// Example:
|
||||
// t, _ := c.NewTransport()
|
||||
// t := c.NewTransport()
|
||||
// t.SetToken(validToken)
|
||||
//
|
||||
func (c *Config) NewTransport() *Transport {
|
||||
|
Loading…
x
Reference in New Issue
Block a user