Creating Chatting Server with Websocket in Go

Photo by Volodymyr Hryshchenko on Unsplash

Library needed

go get

The project structure

Test the Websocket Connection

go run main.go
wscat -c
wscat -c

More improvement

*Molly Ringwald dancing in The Breakfast Club scene

I prefer old-school song and technology, as they are obvious and more understandable.

Get the Medium app