summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/queue.go
blob: c12acbf6a9e67416c1d8964ad6ebb8cd89d2750c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package priorityqueue

import "fmt"

type QueueImpl struct {
}

func NewPriorityQueue() *QueueImpl {
	return &QueueImpl{}
}

// Push the task
func (q *QueueImpl) Push(item interface{}) {
	fmt.Println(item)
}

func (q *QueueImpl) Pop() interface{} {
	return nil
}

func (q *QueueImpl) BLPop() {

}