pb.fast.go会自动生成一个size()的方法,如果结构里面刚好定义了一个size字段 就会报冲突
Open
- Dominant language
- Go
- Stars
- 109
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description


goland 提示报错 Type '*AppletInfo' has both field and method named 'Size'
protobuf好像也有类似的,不过应该很早就修复了
https://github.com/gogo/protobuf/issues/56
Contributor guide
Assessment
This issue has not been assessed yet.