forked from Mirrors/oauth2
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…
Reference in New Issue