This is a creation in Article, where the information may have evolved or changed.
Environment: Ubuntu12 && installed go language via Apt-get
Before I learned how Python looked at the help document, I felt that go should have his own help document, try to open its document and find the Godoc command. Run it, command reminders, you can run the document like this
godoc-http=:6060
But I am prompted that the document does not exist (there is no HTML file) I think of the last time it was installed through the apt-get, it is possible to install the program did not download the document, then had to find the source of Ubuntu there is no godoc related information, found that there is really, then install the download, You can use it later.
godoc-http=:6060# No filessudo apt-cache search Godoc#output#golang-doc-go Programming language Compiler- Documentation#golang-src-go programming language Compiler- source filessudoinstall golang--http=:6060# OK
Launch Browser, open http://127.0.0.1:6060
Found OK, it seems that the go language is also affected by the python, even the way to view the document is similar:)