diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-01-29 23:35:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 16:35:30 +0100 |
commit | 0cd87d64ff8bb40520877d3a217363de299f4531 (patch) | |
tree | d2ec167aea8f5b2ff673b13ba8be98a275d942ab /modules/context/api.go | |
parent | 25b6255b924c30a2bab066c0465d146a34021245 (diff) | |
download | gitea-0cd87d64ff8bb40520877d3a217363de299f4531.tar.gz gitea-0cd87d64ff8bb40520877d3a217363de299f4531.zip |
Update docs and comments to remove macaron (#14491)
Diffstat (limited to 'modules/context/api.go')
-rw-r--r-- | modules/context/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
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() |