mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-30 03:32:49 +00:00
f31bf2612e
This CL breaks another dependency of v2 on v1. A missing feature in v2 is proto.Clone, but we can use a Marshal/Unmarshal roundtrip to achieve the same effect as a temporary stop-gap. Change-Id: I9d0432fd3efe9fc8b34db6c5a1eabbef0c36277c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/168217 Reviewed-by: Damien Neil <dneil@google.com>
1 line
492 B
Plaintext
1 line
492 B
Plaintext
annotation:{path:5 path:0 source_file:"annotations/annotations.proto" begin:318 end:337} annotation:{path:5 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:354 end:401} annotation:{path:4 path:0 source_file:"annotations/annotations.proto" begin:1562 end:1584} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:1595 end:1615} annotation:{path:4 path:0 path:2 path:0 source_file:"annotations/annotations.proto" begin:3170 end:3193} |