MCPcopy Create free account
hub / github.com/google/gapid / init

Function init

core/text/parse/error.go:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func init() {
76 compare.Register(func(c compare.Comparator, reference, value Error) {
77 c.With(c.Path.Member("Message", reference, value)).Compare(reference.Message, value.Message)
78 })
79}
80
81func (l *ErrorList) Add(r *Reader, at cst.Fragment, message string, args ...interface{}) {
82 if len(*l) >= ParseErrorLimit {

Callers

nothing calls this directly

Calls 4

RegisterMethod · 0.65
MemberMethod · 0.65
CompareMethod · 0.45
WithMethod · 0.45

Tested by

no test coverage detected