SKILL38.6K installs3.7K

Golang Samber Lo

Functional programming helpers for Golang using samber/lo — 500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency (Map, Filter, Reduce, GroupBy, Chunk, Flatten, Find, Uniq, etc.). Core immutable package (lo), concurrent variants (lo/parallel aka lop), in-place mutations (lo/mutable aka lom), lazy iterators (lo/it aka loi for Go 1.23+), and experimental SIMD (lo/exp/simd). Apply when using or adopting samber/lo, when the codebase imports github.com/samber/lo, or when implementing functional-style data transformations in Go. Not for streaming pipelines (→ See `samber/cc-skills-golang@golang-samber-ro` skill).

Type
Skill
Author
samber
Category
Backend
GitHub stars
3.7K
Installs
38.6K
Last updated
November 1, 2026

Install

npx skills add https://github.com/samber/cc-skills-golang --skill golang-samber-lo

Use cases


Frequently Asked Questions

Which sub-packages does this skill cover?

The core immutable lo package, concurrent variants (lop), in-place mutations (lom), lazy iterators (loi), and experimental SIMD.

When should I use this skill?

When adopting samber/lo, when a codebase imports github.com/samber/lo, or when writing functional-style data transformations in Go.

Does it cover streaming pipelines?

No, streaming pipelines are handled by the samber/ro skill instead.


About this skill

Covers samber/lo, a functional programming helper library for Go with 500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency. Includes the core immutable package, concurrent variants, in-place mutations, lazy iterators for Go 1.23+, and experimental SIMD. Use when adopting samber/lo or implementing functional-style data transformations in Go; streaming pipelines belong to the samber/ro skill.

Summary written with AI assistance from the project's public description.


Categories


More from samber


Similar Skills