github.com/google/go-cmp/cmp.formatOptions.WithDiffMode (method)
7 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L58: func (opts formatOptions) WithDiffMode(d diffMode) formatOptions {
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)
![]() |
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. |