Versions in this module Expand all Collapse all v0 v0.0.1 Jul 25, 2021 Changes in this version + type Item struct + func NewItem(value uint32, priority int64) *Item + func (item *Item) Value() uint32 + type Priority []*Item + func (pq *Priority) Pop() interface{} + func (pq *Priority) Push(x interface{}) + func (pq Priority) Len() int + func (pq Priority) Less(i, j int) bool + func (pq Priority) Swap(i, j int)