type github.com/google/go-cmp/cmp.formatOptions
20 uses
github.com/google/go-cmp/cmp (current package)
report.go#L45: text := formatOptions{}.FormatDiff(r.root, ptrs)
report_compare.go#L38: type formatOptions struct {
report_compare.go#L58: func (opts formatOptions) WithDiffMode(d diffMode) formatOptions {
report_compare.go#L62: func (opts formatOptions) WithTypeMode(t typeMode) formatOptions {
report_compare.go#L66: func (opts formatOptions) WithVerbosity(level int) formatOptions {
report_compare.go#L71: func (opts formatOptions) verbosity() uint {
report_compare.go#L86: func verbosityPreset(opts formatOptions, i int) formatOptions {
report_compare.go#L100: func (opts formatOptions) FormatDiff(v *valueNode, ptrs *pointerReferences) (out textNode) {
report_compare.go#L203: func (opts formatOptions) formatDiffList(recs []reportRecord, k reflect.Kind, ptrs *pointerReferences) textNode {
report_reflect.go#L44: func (opts formatOptions) FormatType(t reflect.Type, s textNode) textNode {
report_reflect.go#L107: func (opts formatOptions) FormatValue(v reflect.Value, parentKind reflect.Kind, ptrs *pointerReferences) (out textNode) {
report_reflect.go#L302: func (opts formatOptions) formatString(prefix, s string) textNode {
report_reflect.go#L348: var opts formatOptions
report_slices.go#L21: func (opts formatOptions) CanFormatDiffSlice(v *valueNode) bool {
report_slices.go#L77: func (opts formatOptions) FormatDiffSlice(v *valueNode) textNode {
report_slices.go#L320: func (opts formatOptions) formatDiffSlice(
![]() |
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. |