mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 09:16:10 +08:00
12.7-12.12
This commit is contained in:
@@ -9,10 +9,9 @@ func data(name string) string {
|
||||
contents := io.ReadAll(f)
|
||||
return contents
|
||||
}
|
||||
|
||||
```
|
||||
在函数 return 后执行了 `f.Close()`
|
||||
|
||||
在函数 return 后执行了 `f.Close()`
|
||||
|
||||
## 链接
|
||||
|
||||
|
||||
Reference in New Issue
Block a user