Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.5 KB

File metadata and controls

35 lines (31 loc) · 1.5 KB

Appendix E: Concurrent programming

This appendix covers the basics of concurrent programming in Go.

Topics covered

  • Goroutines and their usage
  • Using WaitGroup to synchronize goroutines
  • Unbuffered channels for communication between goroutines
  • Closing channels to signal completion
  • Using select to handle multiple channel operations
  • Buffered channels for decoupling goroutines
  • Many other widely used concurrency patterns

Sections

Section 1: Goroutines

Section 2: Using WaitGroup

Section 3: Unbuffered channels

Section 4: Closing channels

Section 5: Using the select statement

Section 6: Buffered channels