Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 508 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 508 Bytes

Golang Concurrency Patterns

Common and useful golang concurrency patterns I implemented from Rob Pike's famous 2012 Google I/O talk.

Google I/O Talk

Common Patterns

  • Generator: function that runs goroutine and returns channel
  • Multiplexing (fan-in): function that takes multiple channels and pipes to one channel, so that the returned channel receives both outputs
  • Daisychaining: functions whose I/O are daisy-chained with channels together