Registry / utility / novalagung-gubrak

novalagung-gubrak

JSON →
library1.0.0gogounverified

A Go library providing functional programming utilities like map, filter, reduce, and more.

go get github.com/novalagung/gubrak
INSTALL
IMPORT
SIG · NOVALAGUNG-GUBRAK
N
novalagung-gubrak
utilitygov1.0.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.

gubrak
github.com/novalagung/gubrak

Filter a slice of integers to keep only even numbers.

package main import ( "fmt" "github.com/novalagung/gubrak" ) func main() { numbers := []int{1, 2, 3, 4, 5} evens := gubrak.Filter(numbers, func(n int) bool { return n%2 == 0 }) fmt.Println(evens) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
novalagung-gubrak — go get novalagung-gubrak · libregistry