Technical requirements
We assume basic familiarity with the command line, Git, and GitHub. You can find the code examples for this chapter in the book's GitHub repository (https://github.com/PacktPublishing/Network-Automation-with-Go), under the ch01
folder.
To run the examples, proceed as follows:
- Install Go 1.17 or later for your operating system. You can follow the instructions in the Installing Go on your computer section of this chapter or go to https://go.dev/doc/install.
- Clone the book's GitHub repository with
git
clone https://github.com/PacktPublishing/Network-Automation-with-Go.git
. - Change the directory to an example's folder with
cd Network-Automation-with-Go/ch01/concurrency
. - Execute
go run main.go
.