// Setting the transport to allow stackongo to call StackExchange API func SetTransport(c context.Context) { transport = &urlfetch.Transport{Context: c} stackongo.SetTransport(transport) }
func SetTransport(r *http.Request) { c := appengine.NewContext(r) ut := &urlfetch.Transport{Context: c} stackongo.SetTransport(ut) }