mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-30 03:32:49 +00:00
2c8b670c6c
The Value and MayKey types are defined in value.go, but the methods on these types are defined in value_union.go. It's not immediately clear to the reader of the code that these types have methods, or where they are defined. Move the type definitions to value_union.go to keep the entire type in a single place. Change-Id: I7b3f3fc219a24a3b0236c2c3335e5d46f9086d25 Reviewed-on: https://go-review.googlesource.com/134997 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>