mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-12-08 06:29:47 +00:00
To make sure that the code stays maintainable, I added the `importas` linter to ensure that the imports for models and services stay consistent. I realised that this might be needed after finding some discrepancies between singular/plural naming, and, especially in the case of the `forgejo.org/services/context` package, multiple different aliases like `gitea_ctx`, `app_context` and `forgejo_context`. I decided for `app_context`, as that seems to be the most commonly used naming. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10253 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: nachtjasmin <nachtjasmin@posteo.de> Co-committed-by: nachtjasmin <nachtjasmin@posteo.de> |
||
|---|---|---|
| .. | ||
| incoming | ||
| token | ||
| mail.go | ||
| mail_actions.go | ||
| mail_actions_now_done_test.go | ||
| mail_admin_new_user.go | ||
| mail_admin_new_user_test.go | ||
| mail_auth_test.go | ||
| mail_comment.go | ||
| mail_issue.go | ||
| mail_issue_test.go | ||
| mail_release.go | ||
| mail_repo.go | ||
| mail_team_invite.go | ||
| mail_test.go | ||
| mailer.go | ||
| mailer_test.go | ||
| main_test.go | ||
| notify.go | ||