github.com/google/go-cmp/cmp/internal/diff.point.add (method)
4 uses
github.com/google/go-cmp/cmp/internal/diff (current package)
diff.go#L372: p.add(p.dir, p.dir)
diff.go#L374: p.add(p.dir, 0)
diff.go#L376: p.add(0, p.dir)
diff.go#L383: func (p *point) add(dx, dy int) { p.X += dx; p.Y += dy }
![]() |
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. |