Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version contains the current version. Version = "dev" // BuildDate contains a string with the build date. BuildDate = "unknown" )
Functions ¶
Types ¶
type BatchIterator ¶
type BatchIterator struct {
// contains filtered or unexported fields
}
BatchIterator provides a convenient interface for reading lines in batches
func NewBatchIterator ¶
func NewBatchIterator(batchSize int, s *bufio.Scanner) BatchIterator
NewBatchIterator returns a new batch iterator reading from s.
Click to show internal directories.
Click to hide internal directories.