From eae9d0e836ee3052640365a99e36968cea0dfab0 Mon Sep 17 00:00:00 2001 From: Alif Rachmawadi Date: Wed, 3 Sep 2014 08:27:29 +0700 Subject: [PATCH] removed NewTransport inline example --- oauth2.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/oauth2.go b/oauth2.go index 573e87a..e41ed59 100644 --- a/oauth2.go +++ b/oauth2.go @@ -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) }