Closed guowei-gong closed 1 year ago
My question: The dependency could not be found in the generated file.
This is my project structure:
auth.proto:
ws.proto:
I executed this command at the root of the project $ protoc --proto_path=. --go_out=. ./api/auth/service/v1/auth.proto
$ protoc --proto_path=. --go_out=. ./api/auth/service/v1/auth.proto
Thank you for your help!
https://stackoverflow.com/questions/73636235/how-to-introduce-other-proto-files/73658266?noredirect=1#comment130074990_73658266
My question: The dependency could not be found in the generated file.
This is my project structure:![enter image description here](https://i.stack.imgur.com/GsEFk.png)
auth.proto:![enter image description here](https://i.stack.imgur.com/jWGwS.png)
ws.proto:![enter image description here](https://i.stack.imgur.com/6Dop2.png)
I executed this command at the root of the project
$ protoc --proto_path=. --go_out=. ./api/auth/service/v1/auth.proto
Thank you for your help!