type github.com/google/go-cmp/cmp.StructField
13 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L393: step := StructField{&structField{}}
path.go#L57: _ PathStep = StructField{}
path.go#L101: if _, ok := s.(StructField); ok {
path.go#L127: case StructField:
path.go#L170: type StructField struct{ *structField }
path.go#L185: func (sf StructField) Type() reflect.Type { return sf.typ }
path.go#L186: func (sf StructField) Values() (vx, vy reflect.Value) {
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 }
path.go#L206: func (sf StructField) Index() int { return sf.idx }
report_value.go#L57: case StructField:
github.com/google/go-cmp/cmp/cmpopts
ignore.go#L138: sf, ok := p.Index(-1).(cmp.StructField)
struct_filter.go#L113: case cmp.StructField:
![]() |
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. |