MCPcopy Create free account
hub / github.com/arnauddri/algorithms / Queue

Struct Queue

data-structures/queue/queue.go:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "sync"
4
5type Queue struct {
6 queue []interface{}
7 len int
8 lock *sync.Mutex
9}
10
11func New() *Queue {
12 queue := &Queue{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected