1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 05:39:42 +02:00
documize/vendor/github.com/google/go-github/github/with_appengine.go
HarveyKandola b826852137 Moved from Dep to Go Modules
We have finally dropped go dep and moved over to go mod !

During the move, some dependencies have been bumped.
2019-09-06 11:06:28 +01:00

20 lines
463 B
Go

// Copyright 2017 The go-github AUTHORS. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build appengine
// This file provides glue for making github work on App Engine.
package github
import (
"context"
"net/http"
)
func withContext(ctx context.Context, req *http.Request) *http.Request {
// No-op because App Engine adds context to a request differently.
return req
}