mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +02:00
go dep
Migrated from plain /vendor to go dep
This commit is contained in:
parent
0262763c95
commit
fd693f4ff4
957 changed files with 36866 additions and 177595 deletions
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) *http.Request {
|
||||
return req.WithContext(ctx)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue