Versions in this module Expand all Collapse all v1 v1.0.0 Jul 15, 2025 Changes in this version + var ErrNoElements = errors.New("queue is empty") + func New[T any]() *priorityQueue[T] + type Node struct + Payload T + Priority uint + type PriorityQueue interface + Items func() []Node[T] + Pop func() (Node[T], error) + Push func(n Node[T]) + Size func() int