Versions in this module Expand all Collapse all v1 v1.3.0 Dec 10, 2020 Changes in this version + type Item struct + func NewItem(value interface{}, priority time.Time) *Item + func (i *Item) Index() int + func (i *Item) Priority() time.Time + func (i *Item) Value() interface{} + type PriorityQueue []*Item + func (pq *PriorityQueue) Pop() interface{} + func (pq *PriorityQueue) Push(x interface{}) + func (pq PriorityQueue) AtIdx(i int) *Item + func (pq PriorityQueue) Cap() int + func (pq PriorityQueue) Len() int + func (pq PriorityQueue) Less(i, j int) bool + func (pq PriorityQueue) Swap(i, j int)