Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Releases: schigh/slices

v0.0.5

07 Mar 14:55
Compare
Choose a tag to compare

Added Chunk function to native types, which splits a slice up into chunks of a specified size

v0.0.4

06 Sep 13:11
Compare
Choose a tag to compare

Added the func IfEach, which iterates the slice using a function that returns bool.

Also changed CheckEach to TryEach, and adjusted the function signature to resemble IfEach

v0.0.3

17 Aug 01:50
37acd78
Compare
Choose a tag to compare

Added CheckEach to base types and slice generator.

CheckEach behaves like Each, except the user func returns an error. If the error is not nil, the iteration stops and that error is returned from the main loop

v0.0.2

14 Jul 05:08
Compare
Choose a tag to compare
  • Added the Map and Each functions to native types
  • Made slice generator improvements
  • Added pointer slices to slice generator

v0.0.1

20 Jun 14:54
Compare
Choose a tag to compare

tagged for dependency tracking