Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChunkSlice ¶
func ChunkSlice(length int, chunkSize int) <-chan IndexChunk
func Split ¶
Split divides the input string by delimiters in order from the front. The return value has n+1 elements exactly, where n is len(delimiters).
func Unique ¶
func Unique[T comparable](s []T) []T
Types ¶
type IndexChunk ¶
type IndexChunk struct {
From, To int
}
Click to show internal directories.
Click to hide internal directories.