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 ch03
folder.
To run the examples:
1. Install Go 1.17 or later for your operating system. You can follow the instructions in chapter 01’s section "Installing Go" or go to https://go.dev/doc/install.
2. Clone the book's GitHub repository with git clone https://github.com/PacktPublishing/Network-Automation-with-Go.git.
3. Change directory to an example's folder:
cd Network-Automation-with-Go/ch03/json.
4. Execute go run main.go.