Documentation ¶
Overview ¶
Package priority provides priority queue.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Value string // The value of the item; arbitrary. Priority int64 // The priority of the item in the queue. // contains filtered or unexported fields }
An Item is something we manage in a priority queue.
Click to show internal directories.
Click to hide internal directories.