News for hackers. Stuff that matters.
Re:Go Things I Love: Channels and Goroutines by shhsshs on Tuesday January 07, 2020 @07:28PM (#21986901)
Results are cached, but the main reason the example “works” is because the playground has GOMAXPROCS set to 1, meaning only a single goroutine will be running at any given point.
Re:Go Things I Love: Channels and Goroutines by modernerd on Wednesday January 08, 2020 @02:22AM (#21989102)
That makes sense, thanks for the correction.