mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:11:36 +08:00
fix 10.2.1
修改结构体返回类型
This commit is contained in:
@@ -19,7 +19,7 @@ func NewFile(fd int, name string) *File {
|
||||
return nil
|
||||
}
|
||||
|
||||
return &File(fd, name)
|
||||
return &File{fd, name}
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user