type github.com/google/go-cmp/cmp/cmpopts.sliceSorter
6 uses
github.com/google/go-cmp/cmp/cmpopts (current package)
sort.go#L34: ss := sliceSorter{vf.Type().In(0), vf}
sort.go#L38: type sliceSorter struct {
sort.go#L43: func (ss sliceSorter) filter(x, y interface{}) bool {
sort.go#L56: func (ss sliceSorter) sort(x interface{}) interface{} {
sort.go#L66: func (ss sliceSorter) checkSort(v reflect.Value) {
sort.go#L80: func (ss sliceSorter) less(v reflect.Value, i, j int) bool {
![]() |
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. |