package main
import (
"bufio"
"fmt"
"io"
"os"
)
func main() {
openTxt("d:/Desktop/area.txt")
}
func openTxt(txt
golang读取txt文件,获取每行文字。
最新推荐文章于 2023-04-24 11:15:13 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
package main
import (
"bufio"
"fmt"
"io"
"os"
)
func main() {
openTxt("d:/Desktop/area.txt")
}
func openTxt(txt