mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 03:14:16 +00:00
aadba562d3
In the default .pb.go filename generation mode, we generate the filename from the import path when a file has a go_package option and the source .proto filename otherwise. Change filename generation when an explicit mode of paths=import is specified to always use the import path, no matter how it was determiend. The practical effect is that you can override the import path of a file with Mx.proto=import/path and have this behave identically to setting a go_package option in the file. Change-Id: I954b3f9d5fd17d08896629bfc77945dea1732bd6 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/219597 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
protogen |