MCPcopy
hub / github.com/arnauddri/algorithms / Item

Struct Item

data-structures/priority-queue/priority_queue.go:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Item struct {
9 Value interface{}
10 Priority int
11}
12
13func NewItem(value interface{}, priority int) (i *Item) {
14 return &Item{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected