Registry / utility / bahlo-generic-list-go

bahlo-generic-list-go

JSON →
library0.2.0gogounverified

Package list implements a doubly linked list using Go generics.

go get github.com/bahlo/generic-list-go
INSTALL
IMPORT
SIG · BAHLO-GENERIC-LIST
B
bahlo-generic-list-go
utilitygov0.2.0
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.

list
github.com/bahlo/generic-list-go

Create and iterate a list of integers

package main import ( "fmt" "github.com/bahlo/generic-list-go" ) func main() { l := list.New[int]() l.PushBack(1) l.PushBack(2) for e := l.Front(); e != nil; e = e.Next() { fmt.Println(e.Value) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Meta
1
Amazon
1
OpenAI (training)
1
Resources
bahlo-generic-list-go — go get bahlo-generic-list-go · libregistry