This is the code repository for Go Programming Blueprints - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
All of the code is organized into folders. Each folder starts with number followed by the application name. For example, Chapter02.
You will see code something similar to the following:
import (
"github.com/gorilla/websocket"
)
// client represents a single chatting user.
type client struct {
// socket is the web socket for this client.
socket *websocket.Conn
// send is a channel on which messages are sent.
send chan []byte
// room is the room this client is chatting in.
room *room
}
Chapter | Software required | OS required |
---|---|---|
1 to 11 | Go 1.7 | Windows/Mac/Ubuntu |
Click here if you have any feedback or suggestions.