// Remove remove value from queue
Remove remove value from queue
// Remove remove value from queue
func (pq *PriorityQueue) Remove(id uint64) {
	if v, ok := pq.items[id]; ok {
		pq.btree.Delete(v)
		delete(pq.items, id)
	}
}
func ( pq * PriorityQueue ) Remove ( id uint64 ) { if v , ok := pq . items [ id ] ; ok { pq . btree . Delete ( v ) delete ( pq . items , id ) } }
Remove remove value from queue
Remove remove value from queue