The Go Chat Client

2017/01/15 code go-lang

I got a job interview with a cool company in Spain. They use Go. Even though it didn't come up in the interview, I used it as an excuse to toy around with it a bit.

The deployment story was super simple. go build for local builds, env GOOS=linux GOARCH=amd64 go build for server builds.

I also did a really messed up thing to bundle the static JS and HTML inside the executable:

Lastly, to ensure we return, I did this: SCREEN -d -m /var/www/chat