Brandon Greeley
Sign in Subscribe

Goroutine

A collection of 1 post
How to Build a Queue Using Buffered Channels in Go
Go

How to Build a Queue Using Buffered Channels in Go

In this post, we'll look at how to implement a queue using a buffered channel. For those less familiar, a channel in Go is a way to send and receive data across concurrent goroutines. The difference between a buffered and non-buffered channels is, that for unbuffered channels, send
02 Jul 2021 3 min read
Page 1 of 1
Brandon Greeley © 2025
Powered by Ghost