(x interface{})
| 35 | h[i], h[j] = h[j], h[i] |
| 36 | } |
| 37 | func (h *MinHeap) Push(x interface{}) { |
| 38 | *h = append(*h, x.(int)) |
| 39 | } |
| 40 | func (h *MinHeap) Pop() interface{} { |
| 41 | v := *h |
| 42 | p := v[len(v)-1] |
nothing calls this directly
no outgoing calls
no test coverage detected