package model type PlayerID string type Player struct { ID PlayerID Name string Elo int } func NewPlayer(name string) Player { return Player{ Name: name, Elo: 1000, } }