Update docs and comments to remove macaron (#14491)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2021-01-29 16:35:30 +01:00
1 parent 25b6255b92
commit 0cd87d64ff
29 files changed
+32 -78

No files matched your search

+1 -1
View File
@@ -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) {