mirror of
https://github.com/golang/go
synced 2024-10-03 07:21:21 -06:00
cb7d6e37d8
An example for a method M() of type T can be written as func ExampleT_M() { ... }. To differentiate between multiple examples for one function, type or method a suffix with a lowercase start may be appended to the name of the example function, e.g. ExampleFoo_basicUsage. Fixes #2465. R=golang-dev, adg, r, rsc, duperray.olivier, r CC=golang-dev https://golang.org/cl/5440100 |
||
---|---|---|
.. | ||
cmd | ||
lib9 | ||
libbio | ||
libmach | ||
pkg | ||
all-qemu.bash | ||
all.bash | ||
clean.bash | ||
env.bash | ||
make.bash | ||
Make.ccmd | ||
Make.clib | ||
Make.cmd | ||
Make.common | ||
Make.inc | ||
Make.pkg | ||
quietgcc.bash | ||
run.bash | ||
sudo.bash | ||
version.bash |