mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-06 00:40:02 +00:00
Changes made: * Move MessageInfo.{methods,extensionFieldInfosMu,extensionFieldInfos} to the coderMessageInfo type since they are fields all related to the fast-path implementation, which is what the coderMessageInfo is for. * Rename message_field.go -> message_reflect_field.go to make it obvious from the file name that this only deals with the reflection implementation. * Rename message_test.go -> message_reflect_test.go. * Move reflection-specific implementation functions from message.go to message_reflect.go. The intention is to make it such that message.go is the entry point to message implementations and is agnostic towards whether we are implementing reflection or the table-driven fast path. Overall, there is no semantic changes. Just code movement. Change-Id: I7743c39ba84dc63cd2a02934c3319285e16d6b1c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/190100 Reviewed-by: Herbie Ong <herbie@google.com>