How to run in linux system
-
change "gopath" file in this folder.
-
enter command "source gopath"
-
install requirment packages using "go get" command
-
set const host values in chat.go file
const ( listenAddr = "10.0.100.31:3000" // server address mongoHost = "127.0.0.1:27017" // mongodb host )
-
go run chat.go