package
0.0.0-20151215094434-9aa9c3bf18f3
Repository: https://github.com/itshosted/mcore.git
Documentation: pkg.go.dev

# README

Sorting

Utility methods for easy sorting.

Int64 sort

import "github.com/xsnews/mcore/sort"
...
vals := []int64{16,8,4}
sort.Ints(vals)
fmt.Println(vals)

map[string]int64 sort

import "github.com/xsnews/mcore/sort"
...
vals := make(map[string]int64{"A": 1, "B": 12, "C": 3300}
vs := sort.NewValSorter(vals)
vs.Sort()
fmt.Println(vs.Vals)

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

IntSlice attaches the methods of Interface to []int, sorting in increasing order.