proxy.golang.org : sort
Package sort provides primitives for sorting slices and user-defined collections. Example_sortKeys demonstrates a technique for sorting a struct type using programmable sort criteria. Example_sortMultiKeys demonstrates a technique for sorting a struct type using different sets of multiple fields in the comparison. We chain together "Less" functions, each of which compares a single field.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/sort
License: BSD-3-Clause
Latest release: 29 days ago
Last synced: 29 days ago