Skip to content

Commit 5331e6a

Browse files
committed
pkg/tailfile: normalize comment formatting
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent b95fbe7 commit 5331e6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tailfile/tailfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var eol = []byte("\n")
1818
// ErrNonPositiveLinesNumber is an error returned if the lines number was negative.
1919
var ErrNonPositiveLinesNumber = errors.New("The number of lines to extract from the file must be positive")
2020

21-
//TailFile returns last n lines of the passed in file.
21+
// TailFile returns last n lines of the passed in file.
2222
func TailFile(f *os.File, n int) ([][]byte, error) {
2323
size, err := f.Seek(0, io.SeekEnd)
2424
if err != nil {

0 commit comments

Comments
 (0)