Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotImplementedError = errors.New("not implemented yet")
Functions ¶
func ReadLines ¶
ReadLines reads contents from a file and splits them by new lines. A convenience wrapper to ReadLinesOffsetN(filename, 0, -1).
func ReadLinesOffsetN ¶
ReadLines reads contents from file and splits them by new line. The offset tells at which line number to start. The count determines the number of lines to read (starting from offset):
n >= 0: at most n lines n < 0: whole file
Types ¶
Click to show internal directories.
Click to hide internal directories.