You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the tutorial, the usage of the function is batchItems := items[start:end].
Golang slice is exclusive meaning the end is not included in the slice, therefore it should be batchItems := items[start:end+1].