Upgrade to github/v31 for CompleteAppManifest

split fixtures out elsewhere, add working dir test
This commit is contained in:
rob
2020-04-06 00:21:59 -04:00
committed by Roberto Hidalgo
parent 199cdfe192
commit 227ce9cbf4
219 changed files with 35425 additions and 2392 deletions

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)
}