add game name

This commit is contained in:
2020-07-22 00:49:36 +02:00
parent 90f86a02f4
commit 9978fbc9e3
4 changed files with 20 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ type Game struct {
ID string `json:"game_id"`
User User `json:"-"`
Server Server `json:"server"`
Name string `json:"name"`
Cages []*Cage `json:"cages"`
SoldHamster []*Hamster `json:"sold_hamsters"`
CreatedAt time.Time `json:"createdAt"`