removed NewTransport inline example

This commit is contained in:
Alif Rachmawadi 2014-09-03 08:27:29 +07:00
parent e049d530c3
commit eae9d0e836

View File

@ -160,11 +160,6 @@ func (c *Config) AuthCodeURL(state string) (authURL string) {
// initialize the new transport with a token, so after creation,
// you need to set a valid token (or an expired token with a valid
// refresh token) in order to be able to do authorized requests.
//
// Example:
// t := c.NewTransport()
// t.SetToken(validToken)
//
func (c *Config) NewTransport() *Transport {
return NewTransport(c.Transport, c, nil)
}