3 ms·
You can also still run godoc locally. It's deprecated but they at least upgraded it to work with generics. It still does a couple of things better locally than
by jerf 5y ago
You can also still run godoc locally. It's deprecated but they at least upgraded it to work with generics.
It still does a couple of things better locally than the replacement does, which can also be run locally. godoc provides an index of all your packages within a project, which can be helpful rather than having to remember what it's called (browser find is very helpful), and if you change the godoc for a given package, godoc updates upon refresh whereas pkgsite either requires a restart or the passage of some timeout I've never waited for.
There is also certainly something to be said for godoc producing just... a page. No expand/collapse type hierarchy, nothing that interferes with browser find, nothing that breaks your spatial intuition about where things are. Just a page.