samber/lo
💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...) observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 66.5
- age_days: 1645
- days_rel: 184
- days_push: 9
- n_releases_24m: 7
Adoption not part of the score
21411 stars · 954 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
samber/lo is a Lodash-style utility library for Go 1.18+ built on generics, providing 300+ type-safe helpers for slices, maps, strings, channels, and functions. It includes subpackages for lazy iteration (Go 1.23+ sequences), in-place mutable operations, and parallel processing with worker pools.
Use cases
- map filter and reduce slices in go without boilerplate
- deduplicate a slice in go
- find contains and group items in a go slice
- parallelize processing of a collection in go
- lazy iterate over sequences in go 1.23
- replace lodash-style helpers in a go project
- in-place slice filtering for performance-critical go code
When to choose
- you want hundreds of type-safe collection helpers beyond Go's stdlib slices/maps packages
- you're coming from JavaScript/Python and miss Lodash-style utilities
- you need concurrent or lazy iteration helpers with zero external dependencies
When to avoid
- you prefer minimal dependencies and only need the few helpers in the standard library
- your team style guide discourages functional-style Go code
- you need reactive processing of infinite event streams (use samber/ro instead)
Facets
library · maturity stable
developer-tools concurrency data-science developer-tools cross-platform go cross-platform generics lodash functional-programming slices maps iterators parallel-processing type-safe algorithms
4 sources
- readme: https://github.com/samber/lo · fetched 2026-08-28 · c1a25148fe7a
- homepage: https://lo.samber.dev · fetched 2026-08-29 · 93192d971d04
- site_page: https://lo.samber.dev/docs/about · fetched 2026-08-29 · b0719c7c7ff6
- site_page: https://lo.samber.dev/docs/getting-started · fetched 2026-08-29 · 3f9917e96bb3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| samber/lo | main | 86 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem