protobuf-go/cmd/protoc-gen-go/testdata
googleberg eba8b0975f cmd/protoc-gen-go: support protobuf retention feature
This change strips out all descriptor option fields marked with [retention = RETENTION_SOURCE] before writing the FileDescriptor to the generated go code bindings.

Change-Id: Ie624d9d4b4f211a256661d80a04199ae8401662b
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/472696
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Lasse Folger <lassefolger@google.com>
2023-03-07 09:24:00 +00:00
..
annotations
comments types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
extensions
fieldnames types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
import_public types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
imports
issue780_oneof_conflict types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
nopackage
proto2 types/descriptorpb: regenerate using latest protobuf v22.0 release 2023-02-22 09:33:03 +00:00
proto3
retention cmd/protoc-gen-go: support protobuf retention feature 2023-03-07 09:24:00 +00:00
gen_test.go cmd/protoc-gen-go: support protobuf retention feature 2023-03-07 09:24:00 +00:00
registry_test.go