» Go: Make Web Chat App with Socket.IO » 1. Introduction » 1.1 Preparation


Install Go

See How to install Go?.

Note: This project uses Go 1.22.2.

Pick an editor

Pick your favorite editor or use Visual Studio Code.

Learn Go basics

If you're not familiar with Go, you may try this tutorial: "Quick Introduction to Go."

What is Websocket?

The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

What is Socket.IO?

Socket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server. In most cases, the connection will be established with WebSocket, providing a low-overhead communication channel between the server and the client. In case the WebSocket connection is not possible, it will fall back to HTTP long-polling.