How Does Golang Channel Works

Understanding Inner workings of the Golang Channels

Jerry An
Level Up Coding
Published in
4 min readAug 8, 2021

--

A goroutine is a lightweight user-space thread, which is managed by the Go runtime. It executes tasks concurrently, potentially in parallel.

A channel is for communication between goroutines.

In this post, we will delve into the inner workings of the channel and its send/ receive operations.

Making Buffered channels

--

--