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

Struct sliceSorter

cmp/cmpopts/sort.go:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45type sliceSorter struct {
46 in reflect.Type // T
47 fnc reflect.Value // func(T, T) bool
48}
49
50func (ss sliceSorter) filter(x, y interface{}) bool {
51 vx, vy := reflect.ValueOf(x), reflect.ValueOf(y)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected