This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 228 B View raw
1package notella 2 3func chunkBy[T any](items []T, chunkSize int) (chunks [][]T) { 4 for chunkSize < len(items) { 5 items, chunks = items[chunkSize:], append(chunks, items[0:chunkSize:chunkSize]) 6 } 7 8 return append(chunks, items) 9}