fix 10.2.1

修改结构体返回类型
This commit is contained in:
smart
2016-01-20 16:56:25 +08:00
parent 672e8cd7c9
commit d78be9ae6b

View File

@@ -19,7 +19,7 @@ func NewFile(fd int, name string) *File {
return nil
}
return &File(fd, name)
return &File{fd, name}
}
```