Introduction
In the previous chapter, we learned about vulnerabilities that could affect your application and how to mitigate them. We learned how to secure communication and safely store data.
We will now learn some features in Go that are not obvious and can be hard to find out about. You might come across these features if you are going through the standard library. Knowing about these features will help you to understand what is going on during the execution, as some of these properties are implicitly embedded into the language.
As Go is portable across multiple operating systems (OSes) and CPU architectures, Go supports configuring these parameters to build the application. Using these build parameters, you will be able to do things such as cross-compilation, which is very rare in other programming languages.
Concepts such as memory management are hard to master, so the Go runtime manages all memory allocation and deallocation, relieving the coder of the overhead of managing...