Why the default implementation of xxx.pb.go use global registry, can I modify it to avoid namesapce conflict?
From the official doc says. It will meet a namespace conflict if I have a single proto file and using it generated two pb in different pkg. For example, example.proto is generate into two example.pb.go in pkg1 and pkg2 separately.
Relative Import in Protobuf
folder structure