func github.com/google/go-cmp/cmp/internal/value.isLess
8 uses
github.com/google/go-cmp/cmp/internal/value (current package)
sort.go#L22: sort.SliceStable(vs, func(i, j int) bool { return isLess(vs[i], vs[j]) })
sort.go#L27: if isLess(vs2[len(vs2)-1], v) {
sort.go#L36: func isLess(x, y reflect.Value) bool {
sort.go#L62: if isLess(x.Index(i), y.Index(i)) {
sort.go#L65: if isLess(y.Index(i), x.Index(i)) {
sort.go#L72: if isLess(x.Field(i), y.Field(i)) {
sort.go#L75: if isLess(y.Field(i), x.Field(i)) {
sort.go#L87: return isLess(x.Elem(), y.Elem())
 |
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. |