From 6232e2f3094d53151a17db9c36f35e192d9d304d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 21 Feb 2026 10:59:29 +0900 Subject: refactor: rename stuttering exported types in game and tournament packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- backend/api/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/api/handler_test.go') 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 -- cgit v1.3.1