# lo

> Lodash-style generic helpers for Go slices, maps, strings, channels and functions

Source: https://talira.ai/catalog/lo-5c24cc3h
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / general purpose](https://talira.ai/categories/libraries/general-purpose), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Creator: Samuel Berthe (samber)

lo (samber/lo) is a Lodash-style utility library for Go built on Go 1.18+ generics: type-safe helpers such as Filter, Map, Reduce, Uniq, GroupBy, Chunk and many more for slices, maps, strings, channels and functions. It has parallel versions of some helpers (lo/parallel), versions that change slices in place (lo/mutable) and iterator versions (lo/it). It has no dependencies outside the standard library, is at v1 and follows SemVer strictly, with no breaking changes to exported APIs before v2 outside its experimental exp/ packages.

## Links

- Website: https://lo.samber.dev/
- GitHub: https://github.com/samber/lo
- Docs: https://lo.samber.dev/docs/about

## Problems it solves

- filter, map and reduce slices in Go without writing loops every time
- remove duplicates from a slice in Go with generics
- group a Go slice by a key into a map
- find whether a slice contains a value in Go
- split a Go slice into chunks
- run a map over a slice in parallel goroutines

## Features

- Generic helpers for slices, maps, strings, channels and functions
- Filter, Map, Reduce, Uniq, GroupBy, Chunk and more
- Parallel helpers (lo/parallel)
- In-place helpers (lo/mutable)
- Iterator helpers (lo/it)
- No dependencies outside the standard library
- v1 with strict SemVer

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 0.79, adoption 0.87, momentum 0.78, community 0.90, backing 0.20, extensibility 0.00.

- last commit 29 days ago
- 29 commits in the last 90 days
- latest release v1.53.0 9 months ago
- 21.5k GitHub stars
- 175 contributors
- accepts sponsorship (Github, Ko Fi)
- created by Samuel Berthe (samber)

## Sources

[^1]: https://github.com/samber/lo/blob/master/LICENSE (checked 26 Nov 2026)
