type github.com/google/go-cmp/cmp.textRecord
37 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_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#L129: func(v reflect.Value, d diffMode) textRecord {
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#L195: list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
report_slices.go#L218: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L220: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L231: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L238: return textRecord{Diff: d, Value: textLine(s), Comment: comment}
report_slices.go#L263: func(v reflect.Value, d diffMode) textRecord {
report_slices.go#L278: return textRecord{Diff: d, Value: textLine(s)}
report_slices.go#L322: makeRec func(reflect.Value, diffMode) textRecord,
report_text.go#L141: type textList []textRecord
report_text.go#L142: type textRecord struct {
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#L240: func(r textRecord) bool {
report_text.go#L244: func(r textRecord) int { return utf8.RuneCountInString(r.Key) },
report_text.go#L247: func(r textRecord) bool {
report_text.go#L251: func(r textRecord) int { return utf8.RuneCount(r.Value.(textLine)) },
report_text.go#L313: skipFunc func(textRecord) bool,
report_text.go#L314: lenFunc func(textRecord) int,
 |
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. |