github.com/google/go-cmp/cmp.state.curPath (field)
11 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L168: curPath Path // The current path in the value tree
compare.go#L237: s.curPath.push(step)
compare.go#L238: defer s.curPath.pop()
compare.go#L243: s.recChecker.Check(s.curPath)
compare.go#L559: panic(fmt.Sprintf("%#v has map key with NaNs\n%s", s.curPath, help))
options.go#L95: panic(fmt.Sprintf("%s at %#v:\n\t%s\n%s", warning, s.curPath, set, help))
options.go#L133: if f.fnc(s.curPath) {
options.go#L230: if t := s.curPath.Index(-2).Type(); t.Name() != "" {
options.go#L244: panic(fmt.Sprintf("cannot handle unexported field at %#v:\n\t%v\n%s", s.curPath, name, help))
options.go#L305: for i := len(s.curPath) - 1; i >= 0; i-- {
options.go#L306: if t, ok := s.curPath[i].(Transform); !ok {
 |
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. |