Removal of CLI support in godoc is being considered in #25443. Support for full package documentation is the main reason I continue to use godoc (otherwise I use go doc).
Please consider adding support to output full package documentation in go doc. This would make it much easier to review all the documentation at once to get a proper understanding of a package, as well as arbitrary searches within the full package text.
Perhaps implement a -v flag that outputs full documentation for a package or identifier (similar to godoc).
The text was updated successfully, but these errors were encountered:
Unlike the one for the old godoc, you need the -u flag to see
unexported symbols. This seems like the right behavior: it's
For now at least, the argument must be a package, not a symbol.
This is also different from old godoc.
Required a little refactoring but also cleaned up a few things.
Leaving the bug open for now until we tackle
go doc -all symbol
Run-TryBot: Rob Pike <email@example.com>
TryBot-Result: Gobot Gobot <firstname.lastname@example.org>
Reviewed-by: Russ Cox <email@example.com>