package main import ( "server/core" "server/packet" ) var server = core.New() func main() { server.AddHandler(packet.PING, ping) server.AddHandler(packet.LOGIN, login) server.Run(4242) }