grpc-gateway-generator icon indicating copy to clipboard operation
grpc-gateway-generator copied to clipboard

Generate.sh should generate go file together

Open nizheming opened this issue 7 years ago • 2 comments

I have some proto files , and A import B in same package. It will break in go import I change the generate.sh

find ${PROTOS_PATH} -type f -name "*.proto" -exec protoc -I${PROTOS_PATH} \

to

find ${PROTOS_PATH} -type f -name "*.proto"|xargs protoc -I${PROTOS_PATH} \

https://github.com/golang/protobuf/issues/10

nizheming avatar Jun 07 '17 02:06 nizheming