mirror of
https://github.com/rjNemo/underscore
synced 2026-06-06 02:26:42 +00:00
23 lines
482 B
Markdown
23 lines
482 B
Markdown
# Underscore
|
|
|
|
`underscore` is a `Go` library that provides useful functional programming helpers without extending any built-in
|
|
objects.
|
|
|
|
It is mostly a port from the `underscore.js` library based on generics brought by `go1.18`.
|
|
|
|
## Functions
|
|
|
|
`underscore` provides 100s of functions that support your favorite functional helpers
|
|
|
|
### Collections
|
|
|
|
- `map`
|
|
- `filter`
|
|
- `reduce`
|
|
- `each`
|
|
- `some`
|
|
- `every`
|
|
- `find`
|
|
- `contains` (only numerics values at the moment)
|
|
- `max`
|
|
- `min`
|