技术栈
读写txt文件
皓月盈江
4 小时前
开发语言
·
后端
·
golang
·
go
·
读写txt文件
·
bufio
·
go读写txt
Go读写TXT文件
注意:bufio.Scanner 默认单行最大 64KB,如果行很长需要 scanner.Buffer(make([]byte, 1024*1024), 1024*1024) 调大缓冲。
我是有底线的