package
0.2.4
Repository: https://github.com/miku/span.git
Documentation: pkg.go.dev

# Functions

NewBytesBatch creates a new BytesBatch with a given capacity.
NewBytesBatchCapacity creates a new BytesBatch with a given capacity.
NewProcessor creates a new line processor, which reads lines from a reader, applies a function and writes results back to a writer.

# Structs

BytesBatch is a slice of byte slices.
Processor can process lines in parallel.
Record groups a value and a corresponding line number.

# Type aliases

TransformerFunc takes a line number and a slice of bytes and returns a slice of bytes and a an error.