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