I have a slice of 30'000 strings. How do I separate processing this slice into, say, 10 goroutines that would take 3000 strings from the slice, extract some data from them and push into a new slice?
So, in the end, I will have 10 slices with 3000 processed results in each. What's the pattern to handle this problem?
I have had a look at this article, but not sure which of these patterns applies to my case.