Skip to content

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

Closed

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?

Activity

  1. x1022as commented on Mar 31, 2016

    @x1022as
    Author

    I found this in Makefile:

    protoc -I ./api/grpc/types ./api/grpc/types/api.proto --go_out=plugins=grpc:api/grpc/types

    Sorry for this, closing :(

  2. added a commit that references this issue on Dec 3, 2021
  3. added a commit that references this issue on Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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