Versions in this module Expand all Collapse all v0 v0.0.1 May 17, 2022 Changes in this version + func FirstLine(filename string) (string, error) + func LastLine(filename string) (string, error) + type OffsetRange struct + File string + Start int64 + Stop int64 + func SplitLineChunks(filename string, chunks int) ([]OffsetRange, error) + type RangeReader struct + func NewRangeReader(file *os.File, start, stop int64) *RangeReader + func (rr *RangeReader) Read(p []byte) (n int, err error) + type Scanner interface + Scan func() bool + Text func() string + func NewProgressScanner(scanner Scanner, bar *pb.ProgressBar) Scanner