Skip to content

pb.fast.go会自动生成一个size()的方法,如果结构里面刚好定义了一个size字段 就会报冲突 #24

@23buliuhu

Description

@23buliuhu

img_v3_02bn_35b470c3-41ac-4c63-b802-63a45949055g
mKL12oCOrK
goland 提示报错 Type '*AppletInfo' has both field and method named 'Size'

protobuf好像也有类似的,不过应该很早就修复了
gogo/protobuf#56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions