package
0.0.0-20231019094415-0cedff7c5fb4
Repository: https://github.com/hannalindgren/go-utils.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetFileReader reads an input file, gzipped or plain text, and returns an io.Reader for line scanning, along with the file handle, that needs to be closed after reading.
No description provided by the author
IsFile returns true if the given file exists (as a file or as a directory).
ReadFileToLines Read a file into a list of lines.
ReadFileToString Read a file into a string using ioutil.ReadFile (keeping final newline, if any).
ReadStdinToLines Read stdin into a list of lines.
ReadStdinToString Read stdin into a string using ioutil.ReadFile (removing final newline, if any).
No description provided by the author