Explorar o código

gameid --> gameId

Ronald Peterson %!s(int64=10) %!d(string=hai) anos
pai
achega
ec410ea453
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      games/gameserver.go

+ 1 - 1
games/gameserver.go

@@ -55,7 +55,7 @@ func serveGames(gameServer GameServer) {
 
 type stompGameStart struct {
 	Type   string `json:"type"`
-	GameId int64  `json:"gameid"`
+	GameId int64  `json:"gameId"`
 }
 
 func (games GameServer) AddGame(x, y int, stompConnection *extStomp.Conn) *Game {