I would like to rewrite this JavaScript (run in Node) into Go.
let io = require('socket.io-client');
let socket = io('http://botws.generals.io');
socket.on('connect', function() {
console.log('Connected to server.');
});
(I've tried this library unsuccessfully; I can elaborate on my noob attempts if that helps)