mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 15:42:12 +00:00
Upgrade go-github to v39 (#17437)
This commit is contained in:
1 parent
849356deaf
commit
812a9daab9
126 files changed
+2594
-200
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
// 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.
|
||||
|
||||
//go:build !appengine
|
||||
// +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)
|
||||
}
|
||||
Reference in new issue
Block a user