翻译11.12部分内容

This commit is contained in:
dake
2015-11-02 17:17:45 +08:00
parent af7a9355ac
commit 6abfdb7f52
21 changed files with 256 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
# 用切片读写文件
# 12.6 用切片读写文件
切片提供了 Go 中处理 I/O 缓冲的标准方式,下面 `cat` 函数的第二版中,在一个切片缓冲内使用无限 for 循环(直到文件尾部 EOF读取文件并写入到标准输出`os.Stdout`)。