1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-06-06 09:36:08 +02:00
gitea/routers/api
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569)
The "modules/context.go" is too large to maintain.

This PR splits it to separate files, eg: context_request.go,
context_response.go, context_serve.go

This PR will help:

1. The future refactoring for Gitea's web context (eg: simplify the context)
2. Introduce proper "range request" support
3. Introduce context function

This PR only moves code, doesn't change any logic.
2023-05-08 17:36:54 +08:00
..
actions Gitea Actions add `base_ref`, `head_ref`, `api_url`, `ref_type` fields (#24356) 2023-04-28 07:35:21 +08:00
packages Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
v1 Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00