mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 10:01:10 +08:00

The web context (modules/context.Context) is quite complex, it's difficult for the callers to initialize correctly. This PR introduces a `NewWebContext` function, to make sure the web context have the same behavior for different cases.