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/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/context/api.go') diff --git a/modules/context/api.go b/modules/context/api.go index cf6dc265cd..aab6905fd1 100644 --- a/modules/context/api.go +++ b/modules/context/api.go @@ -23,7 +23,7 @@ import ( "gitea.com/go-chi/session" ) -// APIContext is a specific macaron context for API service +// APIContext is a specific context for API service type APIContext struct { *Context Org *APIOrganization @@ -217,7 +217,7 @@ func (ctx *APIContext) CheckForOTP() { } } -// APIContexter returns apicontext as macaron middleware +// APIContexter returns apicontext as middleware func APIContexter() func(http.Handler) http.Handler { var csrfOpts = getCsrfOpts() -- cgit v1.2.3