Go language "MSDN" (Ubuntu12 && go language installed via Apt-get)

Source: Internet
Author: User
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:)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.