Skip to content

How to Create grpc api.pb.go? #177

@x1022as

Description

@x1022as

Hi, all:

I was trying to create a new api.pb.go with api.proto.

protoc --go_out=./ api.proto

can generate a new api.pb.go file, but in this file APIClient is missing( the formor api.pb.go do have APIClient!).

what the cause of this problem, am I using the wrong proto file?

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