github.com/google/go-cmp/cmp.structField.name (field)
6 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L398: step.name = t.Field(i).Name
compare.go#L400: step.unexported = !isExported(step.name)
compare.go#L402: if step.name == "_" {
path.go#L173: name string
path.go#L199: func (sf StructField) String() string { return fmt.Sprintf(".%s", sf.name) }
path.go#L202: func (sf StructField) Name() string { return sf.name }
![]() |
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. |