package entity type Players []Player func (players *Players) Add(player Player) { *players = append(*players, player) }