Hi,
All this morning digging around *protoc *file generation.
Would like to ask, what is proper syntax of generation stubs in my case.
My current location is %GOPATH%\src\github.com\domain\proto
And structure are like this:
[image: ProtocExample.png]
When i run
protoc dms/v1/dms.proto -I.
>
> And when i am using:
>
protoc --proto_path=dms/v1 dms.proto --go_out=plugins=grpc:D:\Code\Go\src
i get a error:
protobuf.proto: File not found.
dms.proto: Import "protobuf.proto" was not found or had errors.
dms.proto:17:66: "domain.protobuf.Empty" is not defined.
--
You received this
ld be able to fix that by
> installing the right plugin and make sure it can be found in PATH. If in
> doubt, check:
>
> $ which protoc-gen-go
>
> If it prints nothing, your go protoc plugin is not installed correctly.
>
> On Tue, Aug 28, 2018 at 5:05 AM Dzintars Klavins > w