summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/queue.go
blob: c5a8a1f64b02853eaa4c73f57b79d3305ae3f88b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}