forked from forgejo/forgejo
Update docs and comments to remove macaron (#14491)
This commit is contained in:
parent
25b6255b92
commit
0cd87d64ff
29 changed files with 32 additions and 78 deletions
|
@ -28,7 +28,7 @@ func GetPrivateContext(req *http.Request) *PrivateContext {
|
|||
return req.Context().Value(privateContextKey).(*PrivateContext)
|
||||
}
|
||||
|
||||
// PrivateContexter returns apicontext as macaron middleware
|
||||
// PrivateContexter returns apicontext as middleware
|
||||
func PrivateContexter() func(http.Handler) http.Handler {
|
||||
return func(next http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue