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

Function newTextParser

proto/text_decode.go:83–89  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

81}
82
83func newTextParser(s string) *textParser {
84 p := new(textParser)
85 p.s = s
86 p.line = 1
87 p.cur.line = 1
88 return p
89}
90
91func (p *textParser) unmarshalMessage(m protoreflect.Message, terminator string) (err error) {
92 md := m.Descriptor()

Callers 1

UnmarshalTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…