I have written a small go program, and I want to generate standalone HTML documents from source code that can be viewed without godoc server. But I can\'t find any way to achiev
Run the server and get it with wget
godoc -http=:6060
wait for it to start up then ("container/heap/" with your app):
wget -p -k http://localhost:6060/pkg/container/heap/
To download all docs I use following:
wget -m -k -q -erobots=off --no-host-directories --no-use-server-timestamps http://localhost:6060