Go has excellent support for writing concurrent applications, using features that are simpler and more intuitive than any other language I have used. In this chapter, I describe the use of
goroutines, which allow functions to be executed concurrently, and
channels, through which goroutines can produce results asynchronously. Table
14-1 puts goroutines and channels in context.
Table 14-1Putting Goroutines and Channels in Context
Question | Answer |
|---|
What are they? | Goroutines are lightweight threads created and managed by the Go runtime. Channels ... |