protobuf-go/types
Joe Tsai 08cd8842f1 cmd/protoc-gen-go: register with the v2 registry for descriptor
By passing the global registries to fileinit.Builder, the Build
method can register the newly constructed descriptors on our behalf.
As a result, we can stop registering with the v1 registries as well.

We only do this for descriptor proto to remove another dependency on v1.
We deliberately keep the v1 registration logic for now to make it easy
to patch away this new behavior.

Change-Id: Ic6aa8ffba3d2d0abe08a61fc5e1c9ca7668e0988
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/168000
Reviewed-by: Herbie Ong <herbie@google.com>
2019-03-19 05:04:43 +00:00
..
descriptor cmd/protoc-gen-go: register with the v2 registry for descriptor 2019-03-19 05:04:43 +00:00
known cmd/protoc-gen-go: rely on protoimpl for basic helpers 2019-03-18 18:50:16 +00:00
plugin cmd/protoc-gen-go: rely on protoimpl for basic helpers 2019-03-18 18:50:16 +00:00