aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/api/handler_wrapper.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 20:00:06 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 20:00:06 +0900
commitef1577a212d1b5c6f908a59b943a512d33d312fe (patch)
tree7c91a689aaea376985ec579d71c1169fdc2ee47a /backend/api/handler_wrapper.go
parent205cb5e21b960852a06fa28baaa03dbbd6aa835f (diff)
downloadiosdc-japan-2025-albatross-ef1577a212d1b5c6f908a59b943a512d33d312fe.tar.gz
iosdc-japan-2025-albatross-ef1577a212d1b5c6f908a59b943a512d33d312fe.tar.zst
iosdc-japan-2025-albatross-ef1577a212d1b5c6f908a59b943a512d33d312fe.zip
feat(backend/worker): enable `revive` in `golangci-lint`
Diffstat (limited to 'backend/api/handler_wrapper.go')
-rw-r--r--backend/api/handler_wrapper.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/api/handler_wrapper.go b/backend/api/handler_wrapper.go
index 748af66..69b9baa 100644
--- a/backend/api/handler_wrapper.go
+++ b/backend/api/handler_wrapper.go
@@ -14,12 +14,12 @@ import (
var _ StrictServerInterface = (*ApiHandlerWrapper)(nil)
type ApiHandlerWrapper struct {
- innerHandler APIHandler
+ innerHandler Handler
}
func NewHandler(queries *db.Queries, hubs GameHubsInterface) *ApiHandlerWrapper {
return &ApiHandlerWrapper{
- innerHandler: APIHandler{
+ innerHandler: Handler{
q: queries,
hubs: hubs,
},