The source code discussed throughout the book can be obtained in two ways:
- Using go get -u github.com/last-ent/distributed-go
- Downloading the code bundle from the website and extracting it to $GOPATH/src/github.com/last-ent/distributed-go
The code for complete book should now be available at $GOPATH/src/github.com/last-ent/distributed-go and the code specific for each chapter will be available in that particular chapter number's directory.
Code for Chapter 1 -> $GOPATH/src/github.com/last-ent/distributed-go/chapter1
Code for Chapter 2 -> $GOPATH/src/github.com/last-ent/distributed-go/chapter2
And so on.
Whenever we discuss code in any particular chapter, it is implied that we are in the respective chapter's ...