Documentation ¶
Index ¶
- func Tail(file *os.File, n int) ([]byte, error)
- func TailAt(file *os.File, n int, offset int64) ([]byte, int64, error)
- func TailAtLines(file *os.File, n int, offset int64) ([][]byte, int64, error)
- func TailAtString(file *os.File, n int, offset int64) (string, int64, error)
- func TailAtStringLines(file *os.File, n int, offset int64) ([]string, int64, error)
- func TailLines(file *os.File, n int) ([][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TailAtLines ¶
TailAtLines returns the byte slice that last n lines of the file, and the current offset of the file
func TailAtString ¶
TailAtString returns the string representation that last n lines of the file, and the current offset of the file
func TailAtStringLines ¶
TailAtStringLines returns the string slice that last n lines of the file, and the current offset of the file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.