简体   繁体   English

在 Windows 上构建 Go 1 的文档

[英]Build documentation for Go 1 on Windows

How to build Go 1 documentations on Windows?如何在 Windows 上构建 Go 1 文档? It is at D:\go\doc on my machine and all links and paths are broken.它位于我机器上的 D:\go\doc 中,所有链接和路径都已损坏。

I'm not a master on Windows, but Go's documentation does not work like that.我不是 Windows 的高手,但 Go 的文档不是那样工作的。 You should use godoc command for accessing Go documentation.您应该使用godoc命令访问 Go 文档。 Run godoc -http=:6060 and access documentation at http://127.0.0.1:6060 in your browser.在浏览器中运行godoc -http=:6060并在http://127.0.0.1:6060访问文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM