The goauth2 package has an example usage. But in the application, the usual http.Client engine is not available. How to use urlfetch package for application using goauth2?
You must add the Transport parameter to the first line of the callback:
Transport
t := &oauth.Transport{ Config: oauth_conf, Transport: &urlfetch.Transport{Context: c}, }