Chapter 9. Concurrency
Concurrency is considered to be the one of the most attractive features of Go. Adopters of the language revel in the simplicity of its primitives to express correct concurrency implementations without the pitfalls that usually come with such endeavors. This chapter covers the necessary topics to understand and create concurrent Go programs, including the following:
Goroutines
Channels
Writing concurrent programs
The sync package
Detecting race conditions
Parallelism in Go