MCPcopy 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

5var ErrQueueFull = errors.New("queue is full")
6
7type Queue struct{}
8
9func NewQueue(size int) *Queue {
10 return &Queue{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected