Registry / utility / marstr-collection

marstr-collection

JSON →
library1.1.1gogounverified

Package collection provides expressive and readable ways to work with data structures, inspired by LINQ.

go get github.com/marstr/collection
INSTALL
IMPORT
SIG · MARSTR-COLLECTION
M
marstr-collection
utilitygov1.1.1
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.

collection
github.com/marstr/collection

Enumerate over a collection of integers.

package main import ( "fmt" "github.com/marstr/collection" ) func main() { items := collection.NewSliceCollection([]int{1, 2, 3}) items.Enumerate(func(i interface{}) bool { fmt.Println(i) return true }) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
marstr-collection — go get marstr-collection · libregistry