0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 15:24:58 +01:00
gitea/routers
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
..
api Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
common Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
install Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
private
utils
web Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
init.go Use globally shared HTMLRender (#24436) 2023-04-30 08:22:23 -04:00