This commit is contained in:
Roy Crihfield 2022-02-17 14:35:20 +08:00
parent 1a65d9e022
commit e0df3399e1

View File

@ -95,8 +95,7 @@ func newFileWriter(path string) (ret fileWriter, err error) {
if err != nil { if err != nil {
return return
} }
buf := file //bufio.NewWriter(file) ret = fileWriter{csv.NewWriter(file)}
ret = fileWriter{csv.NewWriter(buf)}
return return
} }