{"modulePath":"github.com/hyperhq/hypercli","version":"v1.10.16","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package tailfile\n\nPackage tailfile provides helper functions to read the nth lines of any ReadSeeker.\n\n## Variables\n\n```go\nvar ErrNonPositiveLinesNumber = errors.New(\"The number of lines to extract from the file must be positive\")\n```\nErrNonPositiveLinesNumber is an error returned if the lines number was negative.\n\n## Functions\n\n```go\nfunc TailFile(f io.ReadSeeker, n int) ([][]byte, error)\n```\nTailFile returns last n lines of reader f (could be a fil).\n\n","path":"github.com/hyperhq/hypercli/pkg/tailfile","name":"tailfile","synopsis":"Package tailfile provides helper functions to read the nth lines of any ReadSeeker.","isRedistributable":true}
