From f8479c818821d1d01496cb298cdd0dc877a62feb Mon Sep 17 00:00:00 2001 From: sbkebcmj <1129528239@qq.com> Date: Wed, 4 Nov 2020 23:45:16 +0800 Subject: [PATCH] Update 12.5.md (#777) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复示例打开文件未关闭错误 --- eBook/12.5.md | 1 + 1 file changed, 1 insertion(+) diff --git a/eBook/12.5.md b/eBook/12.5.md index 020cc6e..88b0a07 100644 --- a/eBook/12.5.md +++ b/eBook/12.5.md @@ -40,6 +40,7 @@ func main() { continue } cat(bufio.NewReader(f)) + f.Close() } } ```