mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Update docs and comments to remove macaron (#14491)
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user