NOTE
godoc
Godoc can serve Go documentation locally for viewing in a browser. These notes record the startup command and local address.
This is a historical learning note and may contain outdated or incomplete understanding.
1. Installation
go install golang.org/x/tools/cmd/godoc@latest
2. Usage
cd main
godoc
Open in the browser: http://127.0.0.1:6060/
3. References
Generating and Viewing Documentation with go doc and godoc - CSDN Blog
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub