To get the most out of this book
To get the most out of this book, you should have intermediate-level knowledge of Golang. The book assumes that you’re familiar with Go’s syntax, data types, control flow, and other basic concepts. It focuses on more advanced topics, such as creating and testing CLI applications, using external libraries, and building and distributing binaries. If you’re new to Go, you may find the material challenging, but if you have prior experience, you’ll be able to build on your existing knowledge and take your skills to the next level.
Software/hardware covered in the book |
Operating system requirements |
Go 1.19 |
Windows, macOS, or Linux |
Cobra CLI |
|
Docker |
|
Docker Compose |
|
GoReleaser CLI |
Install Cobra CLI: https://github.com/spf13/cobra-cli
Install Docker Desktop: https://www.docker.com/products/docker-desktop/
Install the Docker Compose plugin: https://docs.docker.com/compose/install/
Install the GoReleaser tool at: https://goreleaser.com/install/
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.