github.com/google/go-cmp/cmp.formatOptions.FormatDiff (method)
13 uses
github.com/google/go-cmp/cmp (current package)
report.go#L45: text := formatOptions{}.FormatDiff(r.root, ptrs)
report_compare.go#L100: func (opts formatOptions) FormatDiff(v *valueNode, ptrs *pointerReferences) (out textNode) {
report_compare.go#L170: out := opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
report_compare.go#L191: out = opts.FormatDiff(v.Value, ptrs)
report_compare.go#L195: out = opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
report_compare.go#L266: if out := opts.FormatDiff(r.Value, ptrs); out != nil {
report_compare.go#L314: out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
report_compare.go#L326: out := opts.WithDiffMode(diffIdentical).FormatDiff(r.Value, ptrs)
report_compare.go#L342: outx := opts.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
report_compare.go#L343: outy := opts.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L346: outx = opts2.WithDiffMode(diffRemoved).FormatDiff(r.Value, ptrs)
report_compare.go#L347: outy = opts2.WithDiffMode(diffInserted).FormatDiff(r.Value, ptrs)
report_compare.go#L358: out := opts.FormatDiff(r.Value, ptrs)
 |
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. |