jojo/services/f3/driver
nachtjasmin 8ee4a7d658 chore: ensure consistent import aliasing for services and models (#10253)
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>
2025-11-30 17:00:57 +01:00
..
options feat(F3): CLI: f3 mirror to convert to/from Forgejo 2024-06-14 12:52:12 +02:00
tests chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
attachment.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
attachments.go Update module code.forgejo.org/f3/gof3/v3 to v3.11.0 (forgejo) (#8056) 2025-06-03 14:24:57 +02:00
comment.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
comments.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
common.go chore(dependency): upgrade gof3 v3.10.6 (#7258) 2025-03-18 14:18:00 +00:00
container.go chore(dependency): upgrade gof3 v3.10.6 (#7258) 2025-03-18 14:18:00 +00:00
forge.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issue.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
issues.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
label.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
labels.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: do not clobber ~/.ssh/authorized_keys in certain tests (#10163) 2025-11-19 16:14:16 +01:00
milestone.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
milestones.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
options.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
organization.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
organizations.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
project.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
projects.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
pullrequest.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
pullrequests.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
reaction.go Update module code.forgejo.org/f3/gof3/v3 to v3.11.0 (forgejo) (#8056) 2025-06-03 14:24:57 +02:00
reactions.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
release.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
releases.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repositories.go feat(F3): CLI: f3 mirror to convert to/from Forgejo 2024-06-14 12:52:12 +02:00
repository.go Update module code.forgejo.org/f3/gof3/v3 to v3.11.0 (forgejo) (#8056) 2025-06-03 14:24:57 +02:00
review.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
reviewcomment.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
reviewcomments.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
reviews.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
root.go chore(dependency): upgrade gof3 v3.10.6 (#7258) 2025-03-18 14:18:00 +00:00
topic.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
topics.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
tree.go Update module code.forgejo.org/f3/gof3/v3 to v3.11.0 (forgejo) (#8056) 2025-06-03 14:24:57 +02:00
user.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
users.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00