Skip to content

Commit f253d81

Browse files
authored
Update common.go
1 parent e4409ef commit f253d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/common/common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ func ReadLines(filename string) ([]string, error) {
114114
// ReadLinesOffsetN reads contents from file and splits them by new line.
115115
// The offset tells at which line number to start.
116116
// The count determines the number of lines to read (starting from offset):
117-
// n >= 0: at most n lines
118-
// n < 0: whole file
117+
// n >= 0: at most n lines
118+
// n < 0: whole file
119119
func ReadLinesOffsetN(filename string, offset uint, n int) ([]string, error) {
120120
f, err := os.Open(filename)
121121
if err != nil {

0 commit comments

Comments
 (0)