Go Package sort

From NovaOrdis Knowledge Base
Revision as of 00:50, 2 September 2023 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

External

Internal

Overview

The package provides primitives for sorting slices of ints and floats and user-defined collections. The sort package.

sort.Ints(slice)
sort.Float64s(slice)
sort.Strings(slice)

Example

TODO Introducing Go page 83.