github.com/google/go-cmp/cmp.transformer.name (field)
6 uses
github.com/google/go-cmp/cmp (current package)
options.go#L288: tr := &transformer{name: name, fnc: reflect.ValueOf(f)}
options.go#L297: name string
options.go#L327: return fmt.Sprintf("Transformer(%s, %s)", tr.name, function.NameOf(tr.fnc))
path.go#L139: ssPre = append(ssPre, s.trans.name+"(")
path.go#L296: func (tf Transform) String() string { return fmt.Sprintf("%s()", tf.trans.name) }
path.go#L299: func (tf Transform) Name() string { return tf.trans.name }
![]() |
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. |