craban/server/model/game_member.go
2021-09-13 15:21:37 +02:00

12 lines
215 B
Go

package model
const (
RoleGameMaster = "role_game_master"
RolePlayer = "role_player"
)
type GameMember struct {
GameID int `json:"game_id"`
UserID int `json:"user_id"`
Role string `json:"role"`
}