John,

On Wed, 22 Jul 2020 at 23:02, John <johnsiil...@gmail.com> wrote:

> I then enter that directory and do:
>
> /usr/local/bin/protoc -I =./ ./name.proto --go_out=plugins=grpc:./
> --proto_path=/home/user/go/src
>
> This works, however it doesn't generate the go files in that directory, it
> generates it inside the proto's directory with a directory structure like:
>

Have you tried using an option like: --go_opt=paths=source_relative

Matthew Walster

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CADLW2vz3Qk2a7F%2BhEWE5pg%2B-RKmMuUjFwy91dEbzok645g8Fzw%40mail.gmail.com.

Reply via email to