10 things you (probably) didn't know about Go (2012)
nf.wh3rd.net
nf.wh3rd.net
I wonder why he's using a chan struct{} for the quit channel. Is there a reason for that? Is it more efficient?
Usually I use a boolean for that:
quit := make(chan bool)
<some code>
quit <- true