How to Use This Book
To best follow this book and test the code examples, you need Go 1.13 or higher installed on your machine. At the time of writing this book, the current version of Go is 1.16. You can find more information on installing Go in the official documentation.[6]
The code examples in the book use Go modules to manage package dependencies. For details, consult Go Modules. By using Go modules, you’re no longer required to code under the $GOPATH directory. Modules have been available since Go 1.11 and enabled by default since 1.13.
Make sure the Go binary go is in your $PATH variable so you can execute Go commands from anywhere without prefixing the absolute path. For example, to run tests, you type go test, and to build programs, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access