From 0cd87d64ff8bb40520877d3a217363de299f4531 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 29 Jan 2021 23:35:30 +0800 Subject: Update docs and comments to remove macaron (#14491) --- modules/context/private.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/context/private.go') 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) { -- cgit v1.2.3