github.com/google/go-cmp/cmp.textRecord.Value (field)
44 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L146: list = append(list, textRecord{Diff: '-', Value: outx})
report_compare.go#L149: list = append(list, textRecord{Diff: '+', Value: outy})
report_compare.go#L267: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L315: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L327: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L339: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_compare.go#L350: list = append(list, textRecord{Diff: diffRemoved, Key: formatKey(r.Key), Value: outx})
report_compare.go#L354: list = append(list, textRecord{Diff: diffInserted, Key: formatKey(r.Key), Value: outy})
report_compare.go#L359: list = append(list, textRecord{Key: formatKey(r.Key), Value: out})
report_references.go#L123: walkNodes(r.Value, f)
report_reflect.go#L199: list = append(list, textRecord{Key: sf.Name, Value: s})
report_reflect.go#L231: list = append(list, textRecord{Value: s})
report_reflect.go#L265: list = append(list, textRecord{Key: sk, Value: sv})
report_reflect.go#L325: list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
report_reflect.go#L329: list = append(list, textRecord{Diff: opts.DiffMode, Value: textEllipsis, ElideComma: true, Comment: comment})
report_reflect.go#L332: list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(line), ElideComma: true})
report_reflect.go#L334: list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
report_slices.go#L131: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L157: list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
report_slices.go#L159: if !r.Value.Equal(textEllipsis) {
report_slices.go#L160: line, _ := strconv.Unquote(string(r.Value.(textLine)))
report_slices.go#L183: r.Value = textLine(line)
report_slices.go#L192: if r := list2[len(list2)-1]; r.Diff == diffIdentical && len(r.Value.(textLine)) == 0 {
report_slices.go#L195: list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
report_slices.go#L220: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L238: return textRecord{Diff: d, Value: textLine(s), Comment: comment}
report_slices.go#L278: return textRecord{Diff: d, Value: textLine(s)}
report_text.go#L145: Value textNode // textWrap | textLine
report_text.go#L155: if len(*s) == 0 || !(*s)[len(*s)-1].Value.Equal(textEllipsis) {
report_text.go#L157: *s = append(*s, textRecord{Value: textEllipsis, ElideComma: true, Comment: ds})
report_text.go#L159: *s = append(*s, textRecord{Value: textEllipsis, ElideComma: true})
report_text.go#L174: n += r.Value.Len()
report_text.go#L189: if !(r1.Diff == r2.Diff && r1.Key == r2.Key && r1.Value.Equal(r2.Value) && r1.Comment == r2.Comment) {
report_text.go#L216: b, s[i].Value = r.Value.formatCompactTo(b, d|r.Diff)
report_text.go#L217: if _, ok := s[i].Value.(textLine); !ok {
report_text.go#L241: _, isLine := r.Value.(textLine)
report_text.go#L248: _, isLine := r.Value.(textLine)
report_text.go#L249: return !isLine || r.Value.Equal(textEllipsis) || r.Comment == nil
report_text.go#L251: func(r textRecord) int { return utf8.RuneCount(r.Value.(textLine)) },
report_text.go#L259: _, isLine := r.Value.(textLine)
report_text.go#L276: line := r.Value.(textLine)
report_text.go#L297: b = r.Value.formatExpandedTo(b, d|r.Diff, n)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |