12 lines
215 B
Go
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"`
|
|
}
|