Skip to content

protoc-gen-grpc-gateway doesn't work correctly with option go_package #207

Closed
@favadi

Description

Those below options are valid and generated correctly with grpc-gen-go, but doesn't work with grpc-gateway.

  • option go_package = "github.com/9bug/bug;pb";
  • option go_package = "github.com/9bug/bug-1";

The error message is:

E0803 14:31:41.864791   20176 generator.go:74] 11:13: expected declaration, found 'IDENT' pb: 

I created a repo to reproduce this problem, and the build result.

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