Registry / utility / ipfs-go-ipfs-pq

ipfs-go-ipfs-pq

JSON →
library0.0.4gogounverified

Package pq implements a priority queue.

go get github.com/ipfs/go-ipfs-pq
INSTALL
IMPORT
SIG · IPFS-GO-IPFS-PQ
I
ipfs-go-ipfs-pq
utilitygov0.0.4
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.

pq
github.com/ipfs/go-ipfs-pq

Create a priority queue and push/pop elements.

package main import ( "fmt" "github.com/ipfs/go-ipfs-pq" ) func main() { pq := pq.New(0) pq.Push(&pq.Elem{Priority: 1}) fmt.Println(pq.Pop()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
ipfs-go-ipfs-pq — go get ipfs-go-ipfs-pq · libregistry