mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 03:14:16 +00:00
6c26a04a51
The JSONName constructor returns a struct value which shallow copies a sync.Once within it; this is a dubious pattern. Instead, add a jsonName.Init method to initialize the value. Change-Id: I190a7239b1b62a8041ee7e4e09c0fe37b64ff623 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/213237 Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
protodesc | ||
protoreflect | ||
protoregistry |