thoas/go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, ...) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3533
- days_rel: n/a
- days_push: 770
- n_releases_24m: 0
Adoption not part of the score
4932 stars · 277 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
go-funk is a Go utility library providing generic collection helpers like map, filter, find, and contains, implemented via reflection. It is inspired by lodash and offers both reflective and typesafe implementations.
Use cases
- check if a slice contains an element in Go
- filter and map over slices without writing per-type loops
- find an element in a collection by predicate
- avoid writing ContainsInt-style helpers for every type
- manipulate slices and maps with lodash-like helpers
When to choose
- you need lodash-style collection helpers in Go
- you want to reduce boilerplate contains/filter/map code across many types
- you have a solid test suite and accept reflection overhead
When to avoid
- performance-critical hot paths where reflection cost matters
- you prefer Go 1.21+ generics with typesafe code
- you need compile-time type safety guarantees
Facets
library · maturity stable
developer-tools developer-tools go utility-library lodash-inspired reflection functional-helpers collections algorithms
1 source
- readme: https://github.com/thoas/go-funk · fetched 2026-08-28 · 22a9069a40e4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thoas/go-funk | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem