package
Version:
v3.6.1
Opens a new window with list of versions in this module.
Published: Nov 15, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Queue fifo queue
func NewQueue() (q *Queue)
NewQueue creates a new and empty *fifo.Queue
func (q *Queue) Add(item interface{})
Add an item to the end of the queue
Len Return the number of items in the queue
func (q *Queue) Next() (item interface{})
Next Remove the item at the head of the queue and return it.
Returns nil when there are no items left in queue.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.