You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are too many third-party packages in my GOPATH, which makes the godoc -http=:8888 command spend several minutes to start serving. In the starting process, the CPU is so hot and the godoc server consumes a lot of memory. I just want to read the docs of standard pacakges, so the most work is wasted on parsing third-party packages.
So a proposal as the title says to let the godoc server only show docs of standard packages.
The text was updated successfully, but these errors were encountered:
Setting a dummy GOPATH like GOPATH=/dummy ./godoc -http=:6060 solves the issue.
EDIT: Our responses crossed. :)
agnivade
changed the title
proposal: godoc cmd should support an "-std" option.
proposal: x/tools/cmd/godoc: should support an "-std" option.
Apr 29, 2018
looks GOROOT=$HOME/gosdk GOPATH=noexist godoc -http=:9999 work, but GOROOT=$HOME/gosdk GOPATH= godoc -http=:9999 serves weird almost blank pages and still scans 3rd party packages.
There are too many third-party packages in my GOPATH, which makes the
godoc -http=:8888
command spend several minutes to start serving. In the starting process, the CPU is so hot and the godoc server consumes a lot of memory. I just want to read the docs of standard pacakges, so the most work is wasted on parsing third-party packages.So a proposal as the title says to let the godoc server only show docs of standard packages.
The text was updated successfully, but these errors were encountered: