Explorar o código

Update 12.5.md (#777)

修复示例打开文件未关闭错误
sbkebcmj %!s(int64=5) %!d(string=hai) anos
pai
achega
f8479c8188
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      eBook/12.5.md

+ 1 - 0
eBook/12.5.md

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