slicetools

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chunks

func Chunks[T any](items []T, chunkSize int) [][]T

Chunks splits a slice into chunks of the given size.

func Concat added in v0.0.5

func Concat[T any](slices ...[]T) []T

Concat concatenates multiple slices and returns the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL