This commit is contained in:
Samuel Berthe
2022-03-06 00:21:23 +01:00
parent 74d4363ffc
commit 28bec027ee
2 changed files with 21 additions and 2 deletions

View File

@@ -130,6 +130,7 @@ func PartitionBy[T any, K comparable](collection []T, iteratee func (x T) K) [][
result[resultIndex] = append(result[resultIndex], _item)
mu.Unlock()
wg.Done()
}(item)
}