Registry / utility / zfjagann-golang-ring

zfjagann-golang-ring

JSON →
library0.0.0-20220330170733-19bcea1b6289gogounverified

Package ring provides a simple implementation of a ring buffer.

go get github.com/zfjagann/golang-ring
INSTALL
IMPORT
SIG · ZFJAGANN-GOLANG-RI
Z
zfjagann-golang-ring
utilitygov0.0.0-20220330170733-19bcea1b6289
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.

ring
github.com/zfjagann/golang-ring

Create a ring buffer, enqueue and dequeue elements.

package main import "github.com/zfjagann/golang-ring" func main() { r := ring.NewRing(10) r.Enqueue(1) val, _ := r.Dequeue() _ = val }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220330170733-19bcea1b6289latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
28
Resources
zfjagann-golang-ring — go get zfjagann-golang-ring · libregistry