mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-28 18:25:46 +00:00
687df2333b
If a .proto file does not have a package statement, then protoc will not populate the package field. Emulate the same behavior for ToFileDescriptorProto. Fixes golang/protobuf#1195 Change-Id: I617102e50c96f0fa1bac6a6bc4de1cc485750bb9 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/259899 Reviewed-by: Damien Neil <dneil@google.com> Trust: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
desc_init.go | ||
desc_resolve.go | ||
desc_validate.go | ||
desc.go | ||
file_test.go | ||
proto.go |