github.com/google/go-cmp/cmp.formatOptions.DiffMode (field)
21 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L45: DiffMode diffMode
report_compare.go#L59: opts.DiffMode = d
report_compare.go#L101: if opts.DiffMode == diffIdentical {
report_compare.go#L120: switch opts.DiffMode {
report_compare.go#L136: assert(opts.DiffMode == diffUnknown)
report_compare.go#L163: ptrRefs := ptrs.PushPair(v.ValueX, v.ValueY, opts.DiffMode, true)
report_compare.go#L180: ptrRefs := ptrs.PushPair(v.ValueX, v.ValueY, opts.DiffMode, false)
report_compare.go#L188: ptrRefs := ptrs.PushPair(v.ValueX, v.ValueY, opts.DiffMode, false)
report_compare.go#L224: if opts.DiffMode == diffIdentical {
report_compare.go#L233: switch opts.DiffMode {
report_compare.go#L246: switch opts.DiffMode {
report_reflect.go#L56: if opts.DiffMode == diffIdentical {
report_reflect.go#L314: isTripleQuoted := len(lines) >= 4 && (opts.DiffMode == '-' || opts.DiffMode == '+')
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_reflect.go#L349: opts.DiffMode = diffIdentical
report_slices.go#L23: case opts.DiffMode != diffUnknown:
report_slices.go#L78: assert(opts.DiffMode == diffUnknown)
 |
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. |