package game import () func (gm *Game) GetGameInfo() *GameInfoJson { gm.mu.Lock() defer gm.mu.Unlock() gameInfo := GameInfoJson{ Name: gm.name, } return &gameInfo }