Registry / utility / jianfengye-collection

jianfengye-collection

JSON →
library1.4.2gogounverified

Provides generic collection utilities for Go, including filtering, mapping, and sorting.

go get github.com/jianfengye/collection
INSTALL
IMPORT
SIG · JIANFENGYE-COLLECT
J
jianfengye-collection
utilitygov1.4.2
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/jianfengye/collection

Creates an integer collection, filters elements greater than 1, and prints the result.

package main import ( "fmt" "github.com/jianfengye/collection" ) func main() { col := collection.NewIntCollection([]int{1, 2, 3}) col.Filter(func(i int) bool { return i > 1 }) fmt.Println(col.ToSlice()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jianfengye-collection — go get jianfengye-collection · libregistry