|
24 | 24 |
|
25 | 25 | # Features |
26 | 26 |
|
27 | | -- 🔗 **Fluent chaining** - pipeline your operations like Laravel Collections |
28 | | -- 🧬 **Fully generic** (`Collection[T]`) - no reflection, no `interface{}` |
29 | | -- ⚡ **Zero dependencies** - pure Go, fast, lightweight |
30 | | -- 🧵 **Minimal allocations** - avoids unnecessary copies; most operations reuse the underlying slice |
31 | | -- 🧹 **Map / Filter / Reduce** - clean functional transforms |
32 | | -- 🔍 **First / Last / Find / Contains** helpers |
33 | | -- 📏 **Sort, GroupBy, Chunk**, and more |
34 | | -- 🧪 **Safe-by-default** - defensive copies where appropriate |
35 | | -- 📜 **Built-in JSON helpers** (`ToJSON()`, `ToPrettyJSON()`) |
36 | | -- 🧰 **Developer-friendly debug helpers** (`Dump()`, `Dd()`, `DumpStr()`) |
37 | | -- 🧱 **Works with any Go type**, including structs, pointers, and deeply nested composites |
| 27 | +- **Fluent chaining** - pipeline your operations like Laravel Collections |
| 28 | +- **Fully generic** (`Collection[T]`) - no reflection, no `interface{}` |
| 29 | +- **Zero dependencies** - pure Go, fast, lightweight |
| 30 | +- **Minimal allocations** - avoids unnecessary copies; most operations reuse the underlying slice |
| 31 | +- **Map / Filter / Reduce** - clean functional transforms |
| 32 | +- **First / Last / Find / Contains** helpers |
| 33 | +- **Sort, GroupBy, Chunk**, and more |
| 34 | +- **Safe-by-default** - defensive copies where appropriate |
| 35 | +- **Built-in JSON helpers** (`ToJSON()`, `ToPrettyJSON()`) |
| 36 | +- **Developer-friendly debug helpers** (`Dump()`, `Dd()`, `DumpStr()`) |
| 37 | +- **Works with any Go type**, including structs, pointers, and deeply nested composites |
38 | 38 |
|
39 | 39 | ## Fluent Chaining |
40 | 40 |
|
|
0 commit comments