Closed moul closed 7 years ago
if the previous behavior stays the default one, then sgtm. I guess multiple package with import is an edge case
Refactored the PR to take @proullon's https://github.com/moul/protoc-gen-gotemplate/pull/62#issuecomment-302506895 into account
It breaks calling
protoc
with multiple*.proto
files from different packages, i.e.:This is caused by the addition of this package (used to lookup protobuf
Messages
across all the imported files.Except if someone would want to recode this package without the pain it brings, I'm for adding a new flag in the
main.go
file to switch betweensingle-package with import support
andmultiple-packages without import support
modescc @vgheri @jhayotte @proullon, what do you think?