package server import "github.com/gorilla/websocket" type Player struct { id int conn *websocket.Conn } func NewPlayer(id int) *Player { return &Player{ id: id, } }