diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-21 10:59:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-21 10:59:29 +0900 |
| commit | 6232e2f3094d53151a17db9c36f35e192d9d304d (patch) | |
| tree | 7d19345a48913c17f00744c60ff06fcada56e009 /backend/api/handler_test.go | |
| parent | 642d3b4e1d33afd521f315b9aa99b8993d252902 (diff) | |
| download | phperkaigi-2026-albatross-6232e2f3094d53151a17db9c36f35e192d9d304d.tar.gz phperkaigi-2026-albatross-6232e2f3094d53151a17db9c36f35e192d9d304d.tar.zst phperkaigi-2026-albatross-6232e2f3094d53151a17db9c36f35e192d9d304d.zip | |
refactor: rename stuttering exported types in game and tournament packages
Fix golangci-lint revive warnings by removing package name prefixes:
- game.GameHubInterface → game.HubInterface
- game.GameDetail → game.Detail
- tournament.TournamentEntry → tournament.Entry
- tournament.TournamentMatch → tournament.Match
- tournament.TournamentBracket → tournament.Bracket
- tournament.TournamentEditData → tournament.EditData
Also fix gofmt alignment in api/convert.go and gosimple S1016 in
game/service.go.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'backend/api/handler_test.go')
| -rw-r--r-- | backend/api/handler_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/handler_test.go b/backend/api/handler_test.go index a4e08dc..2dcde29 100644 --- a/backend/api/handler_test.go +++ b/backend/api/handler_test.go @@ -132,7 +132,7 @@ func (m *mockTxManager) RunInTx(_ context.Context, fn func(q db.Querier) error) return fn(&mockQuerier{}) } -// mockGameHub implements game.GameHubInterface for testing. +// mockGameHub implements game.HubInterface for testing. type mockGameHub struct { calcCodeSizeResult int enqueueErr error |
