func slices.SortFunc
11 uses
slices (current package)
iter.go#L73: SortFunc(s, cmp)
sort.go#L30: func SortFunc[S ~[]E, E any](x S, cmp func(a, b E) int) {
encoding/asn1
marshal.go#L114: slices.SortFunc(l, bytes.Compare)
encoding/json
encode.go#L762: slices.SortFunc(sv, func(i, j reflectWithString) int {
encode.go#L1186: slices.SortFunc(fields, func(a, b field) int {
encode.go#L1234: slices.SortFunc(fields, func(i, j field) int {
io/fs
readdir.go#L46: slices.SortFunc(list, func(a, b DirEntry) int {
net
dnsclient.go#L200: slices.SortFunc(addrs, func(a, b *SRV) int {
dnsclient.go#L231: slices.SortFunc(s, func(a, b *MX) int {
net/http
header.go#L179: slices.SortFunc(hs.kvs, func(a, b keyValues) int { return strings.Compare(a.key, b.key) })
os
dir.go#L126: slices.SortFunc(dirs, func(a, b DirEntry) int {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |