mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-29 18:32:46 +00:00
fab1c8d9a3
Accessing Number as a method, rather than a field paves the way to have Enum potentially implement protoreflect.Enum in the future. Change-Id: Iebe9c0ec12e067decf2121d12fe2fb1549477b32 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/207077 Reviewed-by: Damien Neil <dneil@google.com>