Merge branch 'master' of github.com:samber/lo

This commit is contained in:
Samuel Berthe
2022-03-06 00:22:34 +01:00
3 changed files with 6 additions and 5 deletions
+1
View File
@@ -116,6 +116,7 @@ func PartitionBy[T any, K comparable](collection []T, iteratee func (x T) K) [][
for _, item := range collection {
go func(_item T) {
defer wg.Done()
key := iteratee(_item)
mu.Lock()