aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/game/models.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-31 21:02:40 +0900
committernsfisis <nsfisis@gmail.com>2024-07-31 22:20:11 +0900
commit3840c6d8e4261f182657b11ba55f61da04d70b28 (patch)
tree253a3094f3606682982b91b9be7a03f1e4b3f723 /backend/game/models.go
parentd9971c0443fae16af1e003c920f1347c9233b5ac (diff)
downloadiosdc-japan-2024-albatross-3840c6d8e4261f182657b11ba55f61da04d70b28.tar.gz
iosdc-japan-2024-albatross-3840c6d8e4261f182657b11ba55f61da04d70b28.tar.zst
iosdc-japan-2024-albatross-3840c6d8e4261f182657b11ba55f61da04d70b28.zip
feat: implement /admin/games and /admin/games/{gameId}
Diffstat (limited to 'backend/game/models.go')
-rw-r--r--backend/game/models.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/game/models.go b/backend/game/models.go
index 4e9ee87..8f3bc80 100644
--- a/backend/game/models.go
+++ b/backend/game/models.go
@@ -9,13 +9,13 @@ import (
type gameState = api.GameState
const (
- gameStateClosed gameState = api.Closed
- gameStateWaitingEntries gameState = api.WaitingEntries
- gameStateWaitingStart gameState = api.WaitingStart
- gameStatePrepare gameState = api.Prepare
- gameStateStarting gameState = api.Starting
- gameStateGaming gameState = api.Gaming
- gameStateFinished gameState = api.Finished
+ gameStateClosed gameState = api.GameStateClosed
+ gameStateWaitingEntries gameState = api.GameStateWaitingEntries
+ gameStateWaitingStart gameState = api.GameStateWaitingStart
+ gameStatePrepare gameState = api.GameStatePrepare
+ gameStateStarting gameState = api.GameStateStarting
+ gameStateGaming gameState = api.GameStateGaming
+ gameStateFinished gameState = api.GameStateFinished
)
type game struct {