diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-01 21:39:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-01 21:39:31 +0900 |
| commit | 9baf2a7110ecef0eb97301b179bf5a3ca9e9b774 (patch) | |
| tree | 1767a3404b19ab277312caccf442e9f88f2fcba1 /backend/main.go | |
| parent | 0de9bf8ddbc2128e472b6a40d92bffbbf829fe42 (diff) | |
| download | iosdc-japan-2024-albatross-9baf2a7110ecef0eb97301b179bf5a3ca9e9b774.tar.gz iosdc-japan-2024-albatross-9baf2a7110ecef0eb97301b179bf5a3ca9e9b774.tar.zst iosdc-japan-2024-albatross-9baf2a7110ecef0eb97301b179bf5a3ca9e9b774.zip | |
refactor(backend): `Id` to `ID` in echo path params
Diffstat (limited to 'backend/main.go')
| -rw-r--r-- | backend/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/main.go b/backend/main.go index 0257113..939df03 100644 --- a/backend/main.go +++ b/backend/main.go @@ -65,10 +65,10 @@ func main() { defer gameHubs.Close() sockGroup := e.Group("/sock") sockHandler := gameHubs.SockHandler() - sockGroup.GET("/golf/:gameId/play", func(c echo.Context) error { + sockGroup.GET("/golf/:gameID/play", func(c echo.Context) error { return sockHandler.HandleSockGolfPlay(c) }) - sockGroup.GET("/golf/:gameId/watch", func(c echo.Context) error { + sockGroup.GET("/golf/:gameID/watch", func(c echo.Context) error { return sockHandler.HandleSockGolfWatch(c) }) |
