aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/admin/handler.go')
-rw-r--r--backend/admin/handler.go13
1 files changed, 3 insertions, 10 deletions
diff --git a/backend/admin/handler.go b/backend/admin/handler.go
index 4244788..8daead0 100644
--- a/backend/admin/handler.go
+++ b/backend/admin/handler.go
@@ -24,18 +24,11 @@ const (
var jst = time.FixedZone("Asia/Tokyo", 9*60*60)
type Handler struct {
- q *db.Queries
- hub GameHubInterface
+ q *db.Queries
}
-// TODO
-type GameHubInterface any
-
-func NewHandler(q *db.Queries, hub GameHubInterface) *Handler {
- return &Handler{
- q: q,
- hub: hub,
- }
+func NewHandler(q *db.Queries) *Handler {
+ return &Handler{q: q}
}
func newAdminMiddleware() echo.MiddlewareFunc {