protobuf-go/cmd/protoc-gen-go
Joe Tsai 387873dd53 all: implement support for proto3 optional semantics
In the upcoming 3.12.x release of protoc, the proto3 language will be
amended to support true presence for scalars. This CL adds support
to both the generator and runtime to support these semantics.

Newly added public API:
	protogen.Plugin.SupportedFeatures
	protoreflect.FieldDescriptor.HasPresence
	protoreflect.FieldDescriptor.HasOptionalKeyword
	protoreflect.OneofDescriptor.IsSynthetic

Change-Id: I7c86bf66d0ae56642109beb5f2132184593747ad
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/230698
Reviewed-by: Damien Neil <dneil@google.com>
2020-04-29 20:02:24 +00:00
..
internal_gengo all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00
testdata internal/cmd/generate-protos: use module= generator option 2020-03-20 21:35:56 +00:00
annotation_test.go all: make .proto file names relative to module root 2020-02-04 23:20:20 +00:00
main.go all: implement support for proto3 optional semantics 2020-04-29 20:02:24 +00:00