修改结构体返回类型
@@ -19,7 +19,7 @@ func NewFile(fd int, name string) *File {
return nil
}
- return &File(fd, name)
+ return &File{fd, name}
```