I have two services that talk to each other and have separate protofiles. There are a couple of messages type common between the two. When an attempt to test run I get:
2020/08/24 13:40:42 WARNING: proto: file "delivery.proto" has a name
conflict over release.Patient previously from:
"gitlab.com/dhf0820/roirelease/protobufs/relPB" currently from:
"gitlab.com/dhf0820/roi_delivery/protobufs/delPB"
As you can see they have different package names relPB and delPB. The patient is used in both services and I marshal/unmarshal between the two to send the proper message. I am not sure if this is the correct way.
Is there a better way or what is going on. I seem to be having unique names.