0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-11 14:07:48 +02:00
gitea/templates
silverwind 438f367ab3
Simplify
- Drop lazy LoadRepo/LoadOwner in convert.ToProject; rely on caller
  preloading. ListProjects sets Repo from ctx.Repo.Repository on each
  project; CreateProject does the same on the new project. Avoids
  N+1 queries for repo-scoped list endpoints.
- Strip redundant API struct field comments that just restate the
  field name; keep the ones that document enum values.
- Pre-allocate GetColumnsByIDs result slice with len(columnsIDs).
- Fix CountProjectColumns doc comment (was "CountColumns").

Co-Authored-By: Claude (Opus 4.7) <noreply@anthropic.com>
2026-05-03 14:32:38 +05:30
..
2026-04-28 01:08:50 +02:00
2026-05-03 14:32:38 +05:30