protobuf-go/cmd/protoc-gen-go
Joe Tsai 31610fd913 cmd/protoc-gen-go: remove generation of the ExtensionRangeArray method
The ExtensionRangeArray was a pseudo-internal API that was used by
the protobuf runtime implementation to know what the extension ranges are.
For some time now, the runtime implementation does not make use of this.

According to all the latest modules known by the module proxy,
no code depends directly on this method being present.

In the extremely rare case where some user code is depending on this method,
the user can place a .go file next to the generated .pb.go file that
injects this method.

Change-Id: Iae40a9a33b8c9b5a243d48db14f25b05ca24e3dc
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/305574
Trust: Joe Tsai <joetsai@digital-static.net>
Reviewed-by: Damien Neil <dneil@google.com>
2021-03-29 20:25:28 +00:00
..
internal_gengo cmd/protoc-gen-go: remove generation of the ExtensionRangeArray method 2021-03-29 20:25:28 +00:00
testdata cmd/protoc-gen-go: remove generation of the ExtensionRangeArray method 2021-03-29 20:25:28 +00:00
annotation_test.go internal/genid: add new package for generated identifiers 2020-05-29 07:08:23 +00:00
main.go cmd/protoc-gen-go: support --help flag 2021-03-16 20:24:12 +00:00