Documentation ¶
Index ¶
- Variables
- func ChunkSplit(filePath string, split []byte, output chan []byte) error
- func ChunkSplitAny(filePath string, split []byte, output chan []byte) error
- func Head(file *os.File, size int) ([]byte, error)
- func Lines(filePath string, output chan []byte) error
- func NewReader(filePath string) (io.ReadCloser, error)
- func ReadJson(path string, i interface{}) error
- func ScanSplit(split []byte) bufio.SplitFunc
- func ScanSplitAny(split []byte) bufio.SplitFunc
- func ScanSplitNotAny(split []byte) bufio.SplitFunc
- func ZipMaxSizeSelector(zipFile *zip.Reader) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ZipSelector = ZipMaxSizeSelector ErrZipNotFileContains = errors.New(`fread: zip does not contains files`) )
View Source
var ( XmlSplit = []byte(`</`) SpaceAnySplit = []byte(" \n\r\t") SpecialAnySplit = []byte("`~!@#$%^&+=[]{};'\"\\|,<>/?№() \n\r\t") )
Functions ¶
func ScanSplitAny ¶
func ScanSplitNotAny ¶
func ZipMaxSizeSelector ¶
func ZipMaxSizeSelector(zipFile *zip.Reader) (io.ReadCloser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.