mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
More granular travis statuses (#77)
This commit is contained in:
19
vendor/github.com/google/go-github/github/without_appengine.go
generated
vendored
Normal file
19
vendor/github.com/google/go-github/github/without_appengine.go
generated
vendored
Normal 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) (context.Context, *http.Request) {
|
||||
return ctx, req.WithContext(ctx)
|
||||
}
|
Reference in New Issue
Block a user