aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/main.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-01 21:39:31 +0900
committernsfisis <nsfisis@gmail.com>2024-08-01 21:39:31 +0900
commit9baf2a7110ecef0eb97301b179bf5a3ca9e9b774 (patch)
tree1767a3404b19ab277312caccf442e9f88f2fcba1 /backend/main.go
parent0de9bf8ddbc2128e472b6a40d92bffbbf829fe42 (diff)
downloadiosdc-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.go4
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)
})