MCPcopy Create free account
hub / github.com/0xAX/go-algorithms / Queue

Struct Queue

queue/queue.go:34–38  ·  view source on GitHub ↗

Base data structure for Queue

Source from the content-addressed store, hash-verified

32
33// Base data structure for Queue
34type Queue struct {
35 current *QueueItem
36 last *QueueItem
37 depth uint64
38}
39
40// Initializes new Queue and return it
41func New() *Queue {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected