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

Struct valuesFilter

cmp/options.go:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174type valuesFilter struct {
175 core
176 typ reflect.Type // T
177 fnc reflect.Value // func(T, T) bool
178 opt Option
179}
180
181func (f valuesFilter) filter(s *state, t reflect.Type, vx, vy reflect.Value) applicableOption {
182 if !vx.IsValid() || !vx.CanInterface() || !vy.IsValid() || !vy.CanInterface() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected