An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.0% on proxy.golang.org

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