type github.com/google/go-cmp/cmp.Path
19 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L168: curPath Path // The current path in the value tree
compare.go#L618: func (rc *recChecker) Check(p Path) {
options.go#L116: func FilterPath(f func(Path) bool, opt Option) Option {
options.go#L128: fnc func(Path) bool
path.go#L26: type Path []PathStep
path.go#L65: func (pa *Path) push(s PathStep) {
path.go#L69: func (pa *Path) pop() {
path.go#L75: func (pa Path) Last() PathStep {
path.go#L83: func (pa Path) Index(i int) PathStep {
path.go#L98: func (pa Path) String() string {
path.go#L112: func (pa Path) GoString() string {
github.com/google/go-cmp/cmp/cmpopts
ignore.go#L49: func (tf typeFilter) filter(p cmp.Path) bool {
ignore.go#L94: func (tf ifaceFilter) filter(p cmp.Path) bool {
ignore.go#L137: func (xf unexportedFilter) filter(p cmp.Path) bool {
ignore.go#L160: return cmp.FilterPath(func(p cmp.Path) bool {
ignore.go#L188: return cmp.FilterPath(func(p cmp.Path) bool {
struct_filter.go#L58: func (sf structFilter) filter(p cmp.Path) bool {
struct_filter.go#L110: func (ft fieldTree) matchPrefix(p cmp.Path) bool {
xform.go#L13: func (xf xformFilter) filter(p cmp.Path) bool {
![]() |
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. |