Open JoyCood opened 3 months ago
Try not to use relative paths for go package imports.
Try not to use relative paths for go package imports.
thanks your response, the relative paths is generate by protoc-gen-go, how to fixed this issues?
The relative paths come from your proto code:
option go_package = "../order";
The go_package
option in your .proto
file should be set to the full, non-relative import path of the Go package that will contain the generated code for that file.
https://github.com/golang/protobuf/issues/721#issue-365297780
hi, i follow the step, but it's not work! anyone would help me here?
the error is:
can not import common package
:Makefile:
env:
common.proto:
order.proto: