package
module
Version:
v0.0.0-...-e78141b
Opens a new window with list of versions in this module.
Published: May 6, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
queue provides the Queue data structure
interface.
A Queue is a first in, first out contiguous
slice of memory.
type Queue[T any] interface {
PushBack(T)
PopFront() (*T, error)
}
Queue is an interface for collections
that can represent a FIFO queue.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.