github.com/google/go-github/v69@v69.2.0/github/with_appengine.go (about) 1 // Copyright 2017 The go-github AUTHORS. All rights reserved. 2 // 3 // Use of this source code is governed by a BSD-style 4 // license that can be found in the LICENSE file. 5 6 //go:build appengine 7 8 // This file provides glue for making github work on App Engine. 9 10 package github 11 12 import ( 13 "context" 14 "net/http" 15 ) 16 17 func withContext(ctx context.Context, req *http.Request) *http.Request { 18 // No-op because App Engine adds context to a request differently. 19 return req 20 }