Summary
In this chapter, you have learned the essential parts of the Go language. This has included handling errors, using Go concurrency, taking advantage of Go's testing framework, and an introduction to Go's newest feature, generics. The skills acquired in this chapter are essential for all future chapters.
You should now possess the ability to read Go code contained in the rest of the book. In addition, this chapter has given you the necessary skills to write your own Go code. We will use these skills to manipulate files in the filesystem, execute commands on remote machines, and build RPC services that can do a myriad of tasks. You will build chatbots in order to do chat-based operations (ChatOps) and write software to extend Kubernetes. The learnings here are truly foundational.
Next, we will look at how to setup your Go environment to compile code locally on your machine. Let’s get started!