This commit is contained in:
zricethezav committed 2018-02-25 16:18:26 -06:00
1 parent 4b4fa00b69
commit 87ee13fb3d
157 files changed
+44759

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
// 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 without App Engine.
package github
import (
"context"
"net/http"
)
func withContext(ctx context.Context, req *http.Request) *http.Request {
return req.WithContext(ctx)
}