DescriptionAdd sort function helper library.
Inspired by comments on https://github.com/golang/go/issues/16721.
This will be particularly handy when we get to use a version of go (1.8) which
has `sort.Slice`. But in the mean time, it's at least clearer and quicker than
hand-rolling Less methods (and potentially safer too!).
R=dnj@chromium.org, nodir@chromium.org, vadimsh@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2657733002
Committed: https://github.com/luci/luci-go/commit/80c0aea21b33925fd87eb92ee06e99395c33a5a1
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix test, comment #Patch Set 3 : copyright #
Messages
Total messages: 9 (4 generated)
|