forgejo/services/redirect
limiting-factor 2faaa4c5b4 chore: move all test blank imports in a single package (#10662)
- Create `modules/testimport/import.go` to centralize blank import needed for tests (in order to run the `init` function)  to simplify maintenance.
- Remove the imports that are not needed.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10662
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: limiting-factor <limiting-factor@posteo.com>
Co-committed-by: limiting-factor <limiting-factor@posteo.com>
2026-01-02 05:32:32 +01:00
..
main_test.go chore: move all test blank imports in a single package (#10662) 2026-01-02 05:32:32 +01:00
repo.go fix: do permission check for repository redirect 2025-08-30 09:37:34 +02:00
repo_test.go chore: add repo redirect unit test 2025-08-30 09:37:38 +02:00
user.go fix: do visibility check for user redirect lookup 2025-08-30 09:37:25 +02:00
user_test.go chore: add unit test 2025-08-30 09:37:30 +02:00