3 ms·
Go channels are bounded queues[0], Go's goroutines are coroutines. [0] with a twist, the default size is 0 meaning unbuffered: items can't be stored in the que
by masklinn 13y ago
Go channels are bounded queues[0], Go's goroutines are coroutines.
[0] with a twist, the default size is 0 meaning unbuffered: items can't be stored in the queue, so a PUT will block until a GET is performed