Registry / utility / samber-lo

samber-lo

JSON →
library1.53.0gogounverified

A Go library of generic functions inspired by Lodash, providing utilities for slices, maps, and more.

go get github.com/samber/lo
INSTALL
IMPORT
SIG · SAMBER-LO
S
samber-lo
utilitygov1.53.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.

lo
github.com/samber/lo

Remove duplicates from a slice using lo.Uniq.

package main import ( "fmt" "github.com/samber/lo" ) func main() { names := lo.Uniq([]string{"Alice", "Bob", "Alice"}) fmt.Println(names) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
samber-lo — go get samber-lo · libregistry