mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-15 17:57:26 +03: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.