Update 12.5.md (#777)

修复示例打开文件未关闭错误
This commit is contained in:
sbkebcmj
2020-11-04 23:45:16 +08:00
committed by GitHub
parent b4dbc14dd5
commit f8479c8188

View File

@@ -40,6 +40,7 @@ func main() {
continue
}
cat(bufio.NewReader(f))
f.Close()
}
}
```