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 ch04
folder.
To run the examples:
- Install Go 1.17 or later for your operating system. You can follow the instructions in Chapter 4 section Installing Go or go to https://go.dev/doc/install. Two examples in this chapter, specifically those for the net/netip package, require Go 1.18 or later.
- Clone book’s GitHub repository with
git clone https://github.com/PacktPublishing/Network-Automation-with-Go.git
. - Change directory to an example’s folder:
cd Network-Automation-with-Go/ch04/trie
. - Execute
go run main.go
.