This document demonstrates a basic pipeline in Go and talks about a risk in in implementing them. Keep in mind that:
- Using FizzBuzz here is contrived, but quite a nice way to demonstrate the concept. Obviously there is no advantage to running the basic workload of FizzBuzz in a Goroutine, but if the task involved heavy computation or long lived I/O, it starts to make a lot more sense.
- The problem discussed only applies to Goroutines that actually need to have a way to