github.com/google/go-cmp/cmp.transformer.fnc (field)
8 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L635: tf := t.(*transformer).fnc.Type()
options.go#L288: tr := &transformer{name: name, fnc: reflect.ValueOf(f)}
options.go#L299: fnc reflect.Value // func(T) R
options.go#L319: step := Transform{&transform{pathStep{typ: tr.fnc.Type().Out(0)}, tr}}
options.go#L320: vvx := s.callTRFunc(tr.fnc, vx, step)
options.go#L321: vvy := s.callTRFunc(tr.fnc, vy, step)
options.go#L327: return fmt.Sprintf("Transformer(%s, %s)", tr.name, function.NameOf(tr.fnc))
path.go#L302: func (tf Transform) Func() reflect.Value { return tf.trans.fnc }
![]() |
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. |