Node's event emitter in Go