Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blindlobstar/go-interview-problems
/ Queue
Struct
Queue
10-concurrent-queue/task.go:7–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
var
ErrQueueFull = errors.New(
"queue is full"
)
6
7
type
Queue
struct
{}
8
9
func
NewQueue(size int) *Queue {
10
return
&Queue{}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected