Registry / utility / mailgun-minheap

mailgun-minheap

JSON →
library0.0.0-20170619185613-3dbe6c6bf55fgogounverified

A Go implementation of a min-heap data structure.

go get github.com/mailgun/minheap
INSTALL
IMPORT
SIG · MAILGUN-MINHEAP
M
mailgun-minheap
utilitygov0.0.0-20170619185613-3dbe6c6bf55f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

minheap
github.com/mailgun/minheap

Creates a min-heap, pushes an item, and pops it.

package main import "github.com/mailgun/minheap" func main() { h := minheap.NewMinHeap() h.Push("item", 1.0) item, _ := h.Pop() println(item.(string)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170619185613-3dbe6c6bf55flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
mailgun-minheap — go get mailgun-minheap · libregistry