summaryrefslogtreecommitdiffstats
path: root/modules/context/private.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-01-29 23:35:30 +0800
committerGitHub <noreply@github.com>2021-01-29 16:35:30 +0100
commit0cd87d64ff8bb40520877d3a217363de299f4531 (patch)
treed2ec167aea8f5b2ff673b13ba8be98a275d942ab /modules/context/private.go
parent25b6255b924c30a2bab066c0465d146a34021245 (diff)
downloadgitea-0cd87d64ff8bb40520877d3a217363de299f4531.tar.gz
gitea-0cd87d64ff8bb40520877d3a217363de299f4531.zip
Update docs and comments to remove macaron (#14491)
Diffstat (limited to 'modules/context/private.go')
-rw-r--r--modules/context/private.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/private.go b/modules/context/private.go
index a246100050..dfefa1d2f0 100644
--- a/modules/context/private.go
+++ b/modules/context/private.go
@@ -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) {