diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-08 20:00:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-08 20:00:06 +0900 |
| commit | ef1577a212d1b5c6f908a59b943a512d33d312fe (patch) | |
| tree | 7c91a689aaea376985ec579d71c1169fdc2ee47a /backend/game/ws.go | |
| parent | 205cb5e21b960852a06fa28baaa03dbbd6aa835f (diff) | |
| download | iosdc-japan-2024-albatross-ef1577a212d1b5c6f908a59b943a512d33d312fe.tar.gz iosdc-japan-2024-albatross-ef1577a212d1b5c6f908a59b943a512d33d312fe.tar.zst iosdc-japan-2024-albatross-ef1577a212d1b5c6f908a59b943a512d33d312fe.zip | |
feat(backend/worker): enable `revive` in `golangci-lint`
Diffstat (limited to 'backend/game/ws.go')
| -rw-r--r-- | backend/game/ws.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/game/ws.go b/backend/game/ws.go index 8e219d6..0dbd0ab 100644 --- a/backend/game/ws.go +++ b/backend/game/ws.go @@ -20,6 +20,7 @@ var upgrader = websocket.Upgrader{ WriteBufferSize: 1024, CheckOrigin: func(r *http.Request) bool { // TODO: insecure! + _ = r return true }, } |
