github.com/google/go-cmp/cmp.pathStep.vy (field)
17 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L334: if step.vx, step.vy = got, want; !s.statelessCompare(step).Equal() {
compare.go#L337: if step.vx, step.vy = want, want; !s.statelessCompare(step).Equal() {
compare.go#L397: step.vy = vy.Field(i)
compare.go#L460: step.vy, step.ykey = vy.Index(iy), iy
compare.go#L462: step.vy, step.ykey = reflect.Value{}, -1
compare.go#L541: step.vy = vy.MapIndex(k)
compare.go#L543: if !step.vx.IsValid() && !step.vy.IsValid() {
options.go#L322: step.vx, step.vy = vvx, vvy
path.go#L153: vx, vy reflect.Value
path.go#L157: func (ps pathStep) Values() (vx, vy reflect.Value) { return ps.vx, ps.vy }
path.go#L188: return sf.vx, sf.vy // CanInterface reports true
path.go#L197: return sf.vx, sf.vy // CanInterface reports false
path.go#L217: func (si SliceIndex) Values() (vx, vy reflect.Value) { return si.vx, si.vy }
path.go#L261: func (mi MapIndex) Values() (vx, vy reflect.Value) { return mi.vx, mi.vy }
path.go#L274: func (in Indirect) Values() (vx, vy reflect.Value) { return in.vx, in.vy }
path.go#L284: func (ta TypeAssertion) Values() (vx, vy reflect.Value) { return ta.vx, ta.vy }
path.go#L295: func (tf Transform) Values() (vx, vy reflect.Value) { return tf.vx, tf.vy }
 |
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. |