Summary
This chapter was all about systems programming and file I/O in Go and included topics such as signal handling, working with command-line arguments, reading and writing plain text files, working with JSON data, and creating powerful command-line utilities using cobra
.
This is one of the most important chapters in this book because you cannot create any real-world utility without interacting with the operating system as well as the file system.
The next chapter is about concurrency in Go, with the main subjects being goroutines, channels, and data sharing.