sop   GitHub tag (latest by date) Unit Tests


sop (slices operation) is a go1.18+ package to (maybe) simplify performing operations on slices in a fluent-like style with common operations like map, filter, each, aggregate and much more.

Currently, the following functionalities are covered:

  • Map
  • Each
  • Filter
  • Any
  • All
  • None
  • Count
  • Suffle
  • Sort
  • Aggregate


View Github