الانتقال إلى المحتوى الرئيسي
٠

هذا الدرس بالإنجليزية حاليًا.

Talking between goroutines

Goroutines need a safe way to hand work and results to each other. Go's answer is the channel: a typed pipe where one goroutine sends a value in and another receives it. As a Go proverb puts it: share memory by communicating.