]> Cypherpunks repositories - gostls13.git/commit
container/heap: add example
authorRob Pike <r@golang.org>
Thu, 9 Feb 2012 23:07:55 +0000 (10:07 +1100)
committerRob Pike <r@golang.org>
Thu, 9 Feb 2012 23:07:55 +0000 (10:07 +1100)
commit44fa114dc6493d6baeae5661b7030ab1e1289ead
tree65f53f2346741f21041540fdd52dd56c58e8ee29
parentc15a42ed76370afd87aebee0be131dba713bc4f4
container/heap: add example
godoc doesn't have the fu to present the example well, but this gives
us an example of an example to develop example fu.

Fixes #2840.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5645063
src/pkg/container/heap/example_test.go [new file with mode: 0644]
src/pkg/container/heap/heap.go