Skip to content

cmd/gf: An error occurs when using the gf gen pb -p tool to generate proto with bidirectional flow #3989

Open
@wisonlau

Description

@wisonlau

Go version

go version go1.23.1 darwin/amd64

GoFrame version

v2.7.4

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

用gf gen pb -p ./proto -a rpc -c internal/rpc/命令,使用https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto文件生成出来的文件会报错.

What did you see happen?

生成出来的xxx.pb.go文件出现:
image

What did you expect to see?

我想看到不报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions