In this chapter, we talked about code testing, code optimization, and code profiling. Near the end of the chapter, you learned how to find unreachable code and how to cross-compile Go code. The go test command is used to test and benchmark Go code, as well as offering extra documentation with the use of example functions.
Although the discussion of the Go profiler and go tool trace is far from complete, you should understand that with topics such as profiling and code tracing, nothing can replace experimenting and trying new techniques on your own!
In the next chapter, Chapter 12, The Foundations of Network Programming in Go, we will start talking about network programming in Go, which involves programming applications that work over TCP/IP computer networks, which includes the Internet. Some of the subjects in the next chapter are the net/http package, creating web...