When I tweak my Go documentation, go doc
shows the old documentation instead. How do I get go doc
to update its cache against local file changes?
Strangey, go doc
presents an abbreviated version of the documentation: Package documentation is included, and public members are listed, but the go doc
command does not show the documentation for the public members, even with the -u
option. Instead, the godoc
tool must be used.