recessive: 移除 fmt.Println

This commit is contained in:
kercylan98 2023-12-09 10:29:12 +08:00
parent f19e7ccefa
commit ad60e797f4
1 changed files with 0 additions and 2 deletions

View File

@ -2,7 +2,6 @@ package file
import ( import (
"bufio" "bufio"
"fmt"
"github.com/kercylan98/minotaur/utils/slice" "github.com/kercylan98/minotaur/utils/slice"
"io" "io"
"os" "os"
@ -188,7 +187,6 @@ func ReadLineWithParallel(filename string, chunkSize int64, handlerFunc func(str
} }
endMutex.Unlock() endMutex.Unlock()
r := io.NewSectionReader(file, chunk[0], e-chunk[0]) r := io.NewSectionReader(file, chunk[0], e-chunk[0])
fmt.Println(chunk[0], e)
scanner := bufio.NewScanner(r) scanner := bufio.NewScanner(r)
for scanner.Scan() { for scanner.Scan() {