doc: be more efficient printing method sets Build a custom list of exported methods and trim it as we go. This also permits us to stop as soon as we've printed the last one.
doc: be more efficient printing method sets
Build a custom list of exported methods and trim it as we go.
This also permits us to stop as soon as we've printed the last one.

R=r
https://golang.org/cl/11777044

tiago4orion/doc,robpike/doc