[go圣经] 查找重复的行(程序无响应?)
go圣经里有一段`查找重复的行`的代码,发现输入无反应不会打印重复行数据 ```GO // Dup1 prints the text of each line that appears more than // once in the standard input, preceded by its count. package main import ( "bufio" "fmt" "os" ) func main() { counts := make(ma...阅读全文