Home > Article > Backend Development > Graphical explanation of the installation and use of Godoc
The following tutorial column of golang will explain the installation and use of Godoc through pictures and texts. I hope it will be helpful to friends in need!
Deepin 20.2. 2
5.10.36-amd64-desktop
go1.16.6 linux/amd64
go get -v golang.org/x/tools/cmd /godoc
Note: Switch to the $GOPATH
directory to execute.
executable file is locatedFor Example:
cd /home/wong/goprojects/bin/
or ./godoc -http=:6060
or ./godoc -http=localhost :6060
./godocwithout parameters, the default port is 6060.
The above is the detailed content of Graphical explanation of the installation and use of Godoc. For more information, please follow other related articles on the PHP Chinese website!