Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindStartPosForLastNLines ¶
FindStartPosForLastNLines finds the position in a file where the last N lines begin. It returns the byte offset from the start of the file and any error encountered. If n <= 0, it returns 0 (start of file). If the file has fewer lines than n, it returns 0 (start of file).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.