Registry / utility / lispad-go-generics-tools

lispad-go-generics-tools

JSON →
library1.2.1gogounverified

A collection of generic utility functions and data structures for Go.

go get github.com/lispad/go-generics-tools
INSTALL
IMPORT
SIG · LISPAD-GO-GENERICS
L
lispad-go-generics-tools
utilitygov1.2.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.

generics_tools
github.com/lispad/go-generics-tools

Use a generic Map function to transform a slice.

package main import ( "fmt" "github.com/lispad/go-generics-tools" ) func main() { // Example: using a generic function result := generics_tools.Map([]int{1, 2, 3}, func(x int) int { return x * 2 }) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources