Golang: FizzBuzz with channels and goroutines
Here is a FizzBuzz without arithmetic in Golang. It was a little bit harder than expected but it was worth the effort. Now I know a bit more about goroutines, channels and select.
And here is a version using Tick:
Obviously this is not deterministic, it was just an exercise :).
Also see senpaiforhire’s implementation.
Great Golang ebook
Hey! I'm writing an ebook on how to write great Golang code. If it sounds interesting write to email@example.com to be updated.
See all the discussions around the web about this page.