type sort.StringSlice
8 uses
sort (current package)
search.go#L150: func (p StringSlice) Search(x string) int { return SearchStrings(p, x) }
sort.go#L151: type StringSlice []string
sort.go#L153: func (x StringSlice) Len() int { return len(x) }
sort.go#L154: func (x StringSlice) Less(i, j int) bool { return x[i] < x[j] }
sort.go#L155: func (x StringSlice) Swap(i, j int) { x[i], x[j] = x[j], x[i] }
sort.go#L158: func (x StringSlice) Sort() { Sort(x) }
sort.go#L176: func Strings(x []string) { Sort(StringSlice(x)) }
sort.go#L192: func StringsAreSorted(x []string) bool { return IsSorted(StringSlice(x)) }
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |