package
Version:
v0.0.0-...-da378b8
Opens a new window with list of versions in this module.
Published: Apr 10, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package queue creates a ItemQueue data structure for the Item type
Item the type of the queue
type ItemQueue struct {
}
ItemQueue the queue of Items
Dequeue removes an Item from the start of the queue
Enqueue adds an Item to the end of the queue
Front returns the item next in the queue, without removing it
IsEmpty returns true if the queue is empty
New creates a new ItemQueue
Size returns the number of Items in the queue
Source Files
¶
Click to show internal directories.
Click to hide internal directories.