MCPcopy
hub / github.com/golang/protobuf / messageGoType

Function messageGoType

proto/registry.go:257–259  ·  view source on GitHub ↗
(mt protoreflect.MessageType)

Source from the content-addressed store, hash-verified

255}
256
257func messageGoType(mt protoreflect.MessageType) reflect.Type {
258 return reflect.TypeOf(MessageV1(mt.Zero().Interface()))
259}
260
261// MessageName returns the full protobuf name for the given message type.
262//

Callers 2

MessageTypeFunction · 0.85
goTypeForFieldFunction · 0.85

Calls 3

MessageV1Function · 0.85
InterfaceMethod · 0.80
ZeroMethod · 0.80

Tested by

no test coverage detected