Build documentation for Go 1 on Windows

Go To


How to build Go 1 documentations on Windows? It is at D:\go\doc on my machine and all links and paths are broken.

2012-04-04 19:42
by Kaveh Shahbazian


I'm not a master on Windows, but Go's documentation does not work like that. You should use godoc command for accessing Go documentation. Run godoc -http=:6060 and access documentation at in your browser.

2012-04-04 20:23
by Mostafa
That was amazing! Thanks - Kaveh Shahbazian 2012-04-04 21:02
I have to add 'godoc -http=:6060' has to run from the doc directory - Kaveh Shahbazian 2012-04-04 21:05
Setting environment variables should fix that - Mostafa 2012-04-04 21:11