• Volker Dobler's avatar
    godoc: Allow examples for methods. · cb7d6e37
    Volker Dobler authored
    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
    cb7d6e37
Name
Last commit
Last update
..
Makefile Loading commit data...
README.godoc-app Loading commit data...
appinit.go Loading commit data...
codewalk.go Loading commit data...
dirtrees.go Loading commit data...
doc.go Loading commit data...
filesystem.go Loading commit data...
format.go Loading commit data...
godoc.go Loading commit data...
httpzip.go Loading commit data...
index.go Loading commit data...
main.go Loading commit data...
mapping.go Loading commit data...
parser.go Loading commit data...
setup-godoc-app.bash Loading commit data...
snippet.go Loading commit data...
spec.go Loading commit data...
throttle.go Loading commit data...
utils.go Loading commit data...
zip.go Loading commit data...