sliceutils is a lightweight Go package that brings JavaScript-like slice utilities to Go — implemented with type-safe generics, idiomatic Go style, and a focus on readability and convenience.
If you’ve ever missed functions like .map(), .filter(), or .reduce() in Go, this package is for you 🚀
- ✅ Written with Go generics (1.18+)
- 🧠 Inspired by JavaScript’s
Arraymethods - 🧩 Works with any slice type (
[]int,[]string, etc.) - 🧾 Simple, fast, and allocation-safe
- 🧪 Fully tested and documented
go get github.com/IlhomBek-F/sliceutils