From 521fafd945ea10f5660b8d693114f67420121d41 Mon Sep 17 00:00:00 2001 From: Makazeu Date: Fri, 24 Dec 2021 17:14:50 +0800 Subject: [PATCH] Fix a typo in comment --- internal/common/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/common/common.go b/internal/common/common.go index 8f57a79..f545f67 100644 --- a/internal/common/common.go +++ b/internal/common/common.go @@ -112,7 +112,7 @@ func ReadLines(filename string) ([]string, error) { return ReadLinesOffsetN(filename, 0, -1) } -// ReadLines reads contents from file and splits them by new line. +// ReadLinesOffsetN reads contents from file and splits them by new line. // The offset tells at which line number to start. // The count determines the number of lines to read (starting from offset): // n >= 0: at most n lines