Closed
Description
Please support the following syntax to specify different package name:
option go_package = "example.com/pkg/project/proto;projectpb"
Current error:
E0330 11:14:26.373979 20973 generator.go:76] 11:15: expected declaration, found 'IDENT' projectpb:
// Code generated by protoc-gen-grpc-gateway
// source: example.com/pkg/project/users.proto
// DO NOT EDIT!
/*
Package proto;authpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
*/
package proto;projectpb
import (
...
...
var (
...
)
--grpc-gateway_out: 11:15: expected declaration, found 'IDENT' projectpb
doc.go:7: running "protoc": exit status 1