ooepay opened this issue 6 years ago · 0 comments
q := queue.NewPriorityQueue(1, true) q.Put(buffersItem{data, priority}) result, err := q.Get(1)