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// +build appengine 7 8// This file provides glue for making github work on App Engine. 9 10package github 11 12import ( 13 "context" 14 "net/http" 15) 16 17func 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} 21