March 2019
Intermediate to advanced
336 pages
9h 9m
English
The OrderedBy method takes the less function and returns multiSorter. The multisorter instance is initialized by the less function, as shown in the following code snippet:
// OrderedBy methodfunc OrderedBy(lessFunction ...lessFunc) *multiSorter { return &multiSorter{ lessFunction: lessFunction, }}
Read now
Unlock full access