recessive: 移除 fmt.Println
This commit is contained in:
parent
f19e7ccefa
commit
ad60e797f4
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue