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

Method FindMessageByName

jsonpb/json.go:31–33  ·  view source on GitHub ↗
(message protoreflect.FullName)

Source from the content-addressed store, hash-verified

29type anyResolver struct{ AnyResolver }
30
31func (r anyResolver) FindMessageByName(message protoreflect.FullName) (protoreflect.MessageType, error) {
32 return r.FindMessageByURL(string(message))
33}
34
35func (r anyResolver) FindMessageByURL(url string) (protoreflect.MessageType, error) {
36 m, err := r.Resolve(url)

Callers 3

MessageTypeFunction · 0.80
goTypeForFieldFunction · 0.80
EmptyFunction · 0.80

Calls 1

FindMessageByURLMethod · 0.95

Tested by

no test coverage detected