A client server chat based on TCP
- install go language https://golang.org/doc/install
- set the path as $GOPATH=go-work-space
Open command promt and run
$ go get github.com/irfan650/gochat-task/...
It will get the code install it into go work space
$GOPATH/bin/gochat
$GOPATH/bin/gochat 127.0.0.1 3200
Run with go run command
go run /src/github.com/irfan650/gochat-task/gochat/gochat.go