diff --git a/slicetools/chunk.go b/slicetools/chunk.go index 20e5c12..17a83ed 100644 --- a/slicetools/chunk.go +++ b/slicetools/chunk.go @@ -1,6 +1,7 @@ package slicetools // Chunks splits a slice into chunks of the given size. +// Deprecated: Use slices.Chunk instead. func Chunks[T any](items []T, chunkSize int) [][]T { // optimization for small slices if len(items) <= chunkSize {