MCPcopy Create free account
hub / github.com/blindlobstar/go-interview-problems / Push

Method Push

10-concurrent-queue/task.go:13–15  ·  view source on GitHub ↗
(val int)

Source from the content-addressed store, hash-verified

11}
12
13func (q *Queue) Push(val int) error {
14 return nil
15}
16
17func (q *Queue) Pop() int {
18 return 0

Callers 2

TestQueueFunction · 0.95
TestConcurrentQueueFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestQueueFunction · 0.76
TestConcurrentQueueFunction · 0.76