Home > other >  The use of about godoc - Go language beginners
The use of about godoc - Go language beginners

Time:09-17

Tutorial
[this tool can only get in the installation directory. The./Go/SRC comments in the content, in addition, it also can be used as a local document browsing the web server, the command line input godoc - HTTP=: 6060, and then use the browser to open http://localhost:6060, you can see the local document browsing server page,]

My operation result is shown in figure


What reason?

CodePudding user response:

You want to use the browser open the URL http://localhost:6060, on a web page to see your document
If you go doc command, use the go doc package name and/or function name (this is to check the documents on the console, then didn't want to see the local web service), such as go doc FMT

CodePudding user response:

reference 1st floor qybao response:
what do you want to use the browser to open the URL http://localhost:6060, on a web page to view your document
If use the go doc command, use the go doc package name and/or function name (this is to check the documents on the console, then didn't want to see the local web service), such as go doc FMT
reply a bit late, thank you

CodePudding user response:

reference 1st floor qybao response:
what do you want to use the browser to open the URL http://localhost:6060, on a web page to view your document
If use go doc command, use the go doc package name and/or function name (this is on the console view the document, it didn't want to see the local web service), such as go doc FMT
 still has a problem, and I on the command line input godoc - HTTP=: 6060, below the line command ($) of the go doc is automatically pop up, not I input

CodePudding user response:

reference c - m reply: 3/f
there are still problems, and I on the command line input godoc - HTTP=: 6060, below the line command ($) of the go doc is automatically pop up, it's not that I input the

Parameter error, do not use=, separated by Spaces parameters can
Godoc - HTTP: 6060
  • Related