Skip to content

Releases: wilhelm-murdoch/go-collection

v1.0.11

05 Oct 10:37
1bd5322
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.10...v1.0.11

v1.0.10

03 Dec 14:59
Compare
Choose a tag to compare

Full Changelog: v1.0.9...v1.0.10

v1.0.9

11 May 17:08
Compare
Choose a tag to compare

Full Changelog: v1.0.8...v1.0.9

Added support for collection.Batch:

// Batch exposes a very simple parallelized batch processor for a collection.
// Defining a `batchSize` will break the current collection into groups of
// jobs that will be processed in parallel by Goroutines managed by an error
// group. The specified function `f` will be executed for each job in each
// batch. The signature for this function is
// `func(currentBatchIndex, currentJobIndex int, job T) (T, error)`. Batch will
// return a new collection containing each job either upon completion, or until
// it encounters an error. For the latter, a collection containing any
// processed job up until that error will be returned in addition to the error
// itself.

v1.0.8

24 Apr 06:15
Compare
Choose a tag to compare

Full Changelog: v1.0.7...v1.0.8

Added support for collection.ContainsBy:

// ContainsBy returns true if an item in the current collection matches the
// specified predicate function. This is useful if you have a slice of objects
// and you wish to check the existence of a specific field value.

v1.0.7

23 Apr 14:30
Compare
Choose a tag to compare

Full Changelog: v1.0.6...v1.0.7

Added support for custom sorting!

v1.0.6: Implement the marshaler interface so collections can be easily unmash…

01 Apr 07:58
Compare
Choose a tag to compare

Implements the Marshaler interface so a collection and its items can be easily marshalled into valid JSON.

First Release!

29 Mar 14:48
Compare
Choose a tag to compare

This marks the first stable public release of this package. Enjoy!

v1.0.4

28 Mar 03:50
Compare
Choose a tag to compare
v1.0.4 Pre-release
Pre-release
added support for collection.PushDistinct

v1.0.3

27 Mar 14:57
Compare
Choose a tag to compare
v1.0.3 Pre-release
Pre-release
Merge branch 'main' of github.com:wilhelm-murdoch/go-collection

v1.0.2

27 Mar 14:56
c751c57
Compare
Choose a tag to compare
v1.0.2 Pre-release
Pre-release
Update README.md