mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-11-22 02:51:36 +00:00
change picture to ch10.7.4
This commit is contained in:
@@ -65,6 +65,8 @@ func (dec *Decoder) Decode(v interface{}) error
|
||||
|
||||
第二个工具,名字也叫godoc,它提供可以相互交叉引用的HTML页面,但是包含和`go doc`命令相同以及更多的信息。图10.1演示了time包的文档,11.6节将看到godoc演示可以交互的示例程序。godoc的在线服务 https://godoc.org ,包含了成千上万的开源包的检索工具。
|
||||
|
||||

|
||||
|
||||
你也可以在自己的工作区目录运行godoc服务。运行下面的命令,然后在浏览器查看 http://localhost:8000/pkg 页面:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user