tailfile

package
v1.3.1-0...-70c4b4e Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNonPositiveLinesNumber = errors.New("Lines number must be positive")

Functions

func TailFile

func TailFile(f *os.File, n int) ([][]byte, error)

TailFile returns last n lines of file f

Types

This section is empty.

Jump to

Keyboard shortcuts

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