package
0.0.0-20241212132234-0076f9e1ccd7
Repository: https://github.com/basecomplextech/baselibrary.git
Documentation: pkg.go.dev

# Functions

New returns a new priority queue with a priority compare function.
NewUnique returns a unique priority queue with a priority compare function.

# Structs

Item is an element of the queue.
Queue is a priority queue that is implemented using a heap.
UniqueQueue is a priority queue that contains unique elements.

# Type aliases

CompareFunc compares two priorities, and returns -1 if a < b, 0 if a == b, 1 if a > b.