package model type PlayerID string type Player struct { ID PlayerID Elo int } func NewPlayer(id PlayerID) Player { return Player{ ID: id, Elo: 100, } }