fixed NewTransport example code
This commit is contained in:
@@ -162,7 +162,7 @@ func (c *Config) AuthCodeURL(state string) (authURL string) {
|
|||||||
// refresh token) in order to be able to do authorized requests.
|
// refresh token) in order to be able to do authorized requests.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
// t, _ := c.NewTransport()
|
// t := c.NewTransport()
|
||||||
// t.SetToken(validToken)
|
// t.SetToken(validToken)
|
||||||
//
|
//
|
||||||
func (c *Config) NewTransport() *Transport {
|
func (c *Config) NewTransport() *Transport {
|
||||||
|
|||||||
Reference in New Issue
Block a user