]> Cypherpunks repositories - gostls13.git/commit
sort: add a simpler sort.Interface example
authorAndriy Lytvynov <lytvynov.a.v@gmail.com>
Sun, 8 Sep 2013 01:17:23 +0000 (11:17 +1000)
committerRob Pike <r@golang.org>
Sun, 8 Sep 2013 01:17:23 +0000 (11:17 +1000)
commit467122ce0b5f9daeb44b073362d53e772e321947
treebc47561fc8757ac2977c29d5baab0a14740620a9
parent78338d8c667d7798209132a6c206051db98de83c
sort: add a simpler sort.Interface example

Existing example renamed to Example_sortWrapper.
Fixes #6335.

R=golang-dev, rsc, taj.khattra, r
CC=golang-dev
https://golang.org/cl/13586043
src/pkg/sort/example_interface_test.go
src/pkg/sort/example_wrapper_test.go [new file with mode: 0644]