package
Version:
v2.19.1
Opens a new window with list of versions in this module.
Published: Feb 4, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Batches[T any](all []T, size int) (batches [][]T)
Batches splits a slice into multiple batches of a desired size.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.