mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-10 02:07:00 +08:00
Merge pull request #716 from szepeviktor/patch-4
Make OrderedBy not exported
This commit is contained in:
@@ -418,9 +418,9 @@ func (ms *multiSorter) Sort(queries []stats.QueryStats) {
|
||||
sort.Sort(ms)
|
||||
}
|
||||
|
||||
// OrderedBy returns a Sorter that sorts using the less functions, in order.
|
||||
// orderedBy returns a Sorter that sorts using the less functions, in order.
|
||||
// Call its Sort method to sort the data.
|
||||
func OrderedBy(less ...lessFunc) *multiSorter {
|
||||
func orderedBy(less ...lessFunc) *multiSorter {
|
||||
return &multiSorter{
|
||||
less: less,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user