MCPcopy
hub / github.com/google/go-cmp / StructField

Struct StructField

cmp/path.go:180–180  ·  cmp/path.go::StructField

StructField is a [PathStep] that represents a struct field access on a field called [StructField.Name].

Source from the content-addressed store, hash-verified

178// StructField is a [PathStep] that represents a struct field access
179// on a field called [StructField.Name].
180type StructField struct{ *structField }
181type structField struct {
182 pathStep
183 name string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected