package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jan 28, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func BatchSlice[S ~[]T, T any](slice S, batchSize, index int) (S, int)
BatchSlice returns a batch cut out of the given slice, and the index of the next batch
Source Files
¶
Click to show internal directories.
Click to hide internal directories.