On Wed, Jul 22, 2020 at 4:32 PM John <johnsiil...@gmail.com> wrote:
>
> Mathew + Burak,
>
> That was it.
>
> Out of curiosity, where did you find that option.  I didn't see it in 
> protoc's help. google search for "protoc --go_opt" did not yield good 
> results.  It did find: https://grpc.io/docs/languages/go/quickstart/, but I'd 
> like to bookmark the definite list if you know where i can find it.

https://developers.google.com/protocol-buffers/docs/reference/go-generated


>
> Cheers and thanks so much!
>
>
> On Wednesday, July 22, 2020 at 3:17:09 PM UTC-7, Matthew Walster wrote:
>>
>> John,
>>
>> On Wed, 22 Jul 2020 at 23:02, John <johns...@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/71f0cd9b-6197-4c1e-94fa-a41df7f8cdeco%40googlegroups.com.

-- 
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/CAMV2RqozmE8GDC84DGXCV4LN3iZrAZwYBoRhe0-saTfqQNNSAw%40mail.gmail.com.

Reply via email to