github.com/google/go-cmp/cmp.valueNode.MaxDepth (field)
8 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L119: if v.MaxDepth == 0 {
report_compare.go#L341: case r.Value.NumChildren == r.Value.MaxDepth:
report_value.go#L36: MaxDepth int
report_value.go#L84: assert(r.MaxDepth == 0) // May only be called on leaf nodes
report_value.go#L117: if parent.MaxDepth < child.MaxDepth+1 {
report_value.go#L118: parent.MaxDepth = child.MaxDepth + 1
![]() |
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. |