Document

Document

go文档相关

https://godoc.org/

go文档的两种方式:

  • go doc
  • godoc

go doc

直接在命令行查看文档

$ go doc [package/symbol]

godoc

go自带的文档命令行接口,在浏览器查看文档

godoc package [name ...]
godoc -http=:6060

通过github的项目文档在:

https://godoc.org

go.dev

https://pkg.go.dev

Designed by Canux