]> Cypherpunks repositories - gostls13.git/commit
sort: update main example to use Slice along with Sort
authorAgniva De Sarker <agnivade@yahoo.co.in>
Sat, 23 Sep 2017 16:59:42 +0000 (22:29 +0530)
committerIan Lance Taylor <iant@golang.org>
Sun, 24 Sep 2017 14:40:37 +0000 (14:40 +0000)
commitff3123d1f66992f51d326c844d8ecf1f5ab8e75d
treeec53e8edd54961dc9919cb55e5f31484437f2c4b
parent48ec5122ff439ae2c8619fb29a82339555403a9f
sort: update main example to use Slice along with Sort

This is to let sort.Slice get more prominence since
it's the most common use case.

Fixes #21989

Change-Id: I0b180cc20256f5f09065b722e191c508c872f4f7
Reviewed-on: https://go-review.googlesource.com/65710
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/sort/example_interface_test.go