# tobyhede/go-underscore

Helpfully Functional Go -  A useful collection of Go utilities. Designed for programmer happiness.

Repository: https://github.com/tobyhede/go-underscore
Canonical: https://ross.abutalabs.com/products/go-underscore
Language: Go
License: NOASSERTION
License Family: other
Last push: 2023-02-28T05:58:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4445, "days_push": 1282, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1299, forks 62 (observed 2026-08-28T04:04:17.460679+00:00)

## What it is
A Go utility library inspired by underscore.js, providing functional collection helpers like Each, Map, Any, Every, and None for slices and maps. It also offers parallel variants such as EachP and parallel Map backed by worker pools.

## Use cases
- apply a function to every element of a slice or map in go
- map over collections with functional helpers in go
- run collection iteration in parallel with worker pools
- check if any, all, or none of a collection matches a predicate
- write underscore.js-style functional code in go

## When to choose
- you want familiar underscore-style functional iteration helpers in Go
- you need simple parallel Each/Map over collections without pulling a heavy dependency

## When to avoid
- you need a maintained, well-documented library — the project is in flux with incomplete godoc
- you prefer Go 1.x generics-based functional libraries with type safety
- you need full lodash/underscore feature coverage like contains or indexOf, which are still unimplemented

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, concurrency
- domain: developer-tools
- platform: go
- tags: functional-programming, underscore, collections, map-reduce, generics-helpers, algorithms

## Member repositories
- tobyhede/go-underscore (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.460679+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:53:27.958381+00:00, confidence not recorded.
  - readme: https://github.com/tobyhede/go-underscore (fetched 2026-08-28T04:04:17.460679+00:00, sha 718e8b019038)
- Data as of 2026-08-30T08:39:29.467469+00:00.
