linescanner

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LineScanner

func LineScanner(path string, callback func(string, *bufio.Scanner) error) error

LineScanner creates a bufio.Scanner from a file, decompressing the file if necessary.

func TarGzLineScanner

func TarGzLineScanner(path string, callback func(string, *bufio.Scanner) error) error

TarGzLineScanner creates a bufio.Scanner from a .tar.gz file.

func TextLineScanner

func TextLineScanner(path string, callback func(string, *bufio.Scanner) error) error

TextLineScanner creates a bufio.Scanner from a plain text file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL