Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proto: specify the go import path for google/protobuf/descriptor.prot…
…o on command line The value of `go_package` in google/protobuf/descriptor.proto is "descriptor", which isn't supported by protoc-gen-grpc-gateway v2. The error message is: ``` stderr: protoc-gen-grpc-gateway: invalid Go import path "descriptor" for "google/protobuf/descriptor.proto" stderr: stderr: The import path must contain at least one period ('.') or forward slash ('/') character. ``` The solution is to specify the go import path on command line in format: M${PROTO_FILE}=${GO_IMPORT_PATH}. Signed-off-by: Benjamin Wang <[email protected]>
- Loading branch information