Go似乎没有类似于Java Doc的文档系统

44 views
Skip to first unread message

Chen Gang

unread,
Mar 11, 2010, 3:25:55 PM3/11/10
to Golang-China
或者是我看文档不够仔细?Go有类似的系统吗?

用特定格式的注释把文档写在代码里面,然后编译的时候能生成相应的文档~~

chai

unread,
Mar 11, 2010, 7:46:39 PM3/11/10
to golang...@googlegroups.com
有godoc的工具,可以提取每个函数前的注释作为文档。
go的官方网站就是自动生成的go文档。

不过go的文档目前不支持 @param 等特定的标签。

在 2010年3月12日 上午4:25,Chen Gang <chen.g...@gmail.com>写道:
或者是我看文档不够仔细?Go有类似的系统吗?

用特定格式的注释把文档写在代码里面,然后编译的时候能生成相应的文档~~

Gang Chen

unread,
Mar 11, 2010, 7:50:09 PM3/11/10
to golang...@googlegroups.com
go官方网站上的文档太简略了

Go还有很长的路要走阿

系统编程语言,估计没有十年到二十年的时间,难成气候~~

2010/3/11 chai <chais...@gmail.com>



--
Gang Chen
Computer Science Ph.D Candidate[1] & Biomedical Visiting Scientist[2]
[1] Central South University, Changsha, China,Cell Phone:13574886823
[2] Univ. of Texas Medical Branch, Galveston, USA, Cell Phone:(409)354-3186
E-mail: chen.g...@gmail.com
Blog: www.gossipcoder.com

Leask Huang

unread,
Mar 11, 2010, 11:51:14 PM3/11/10
to golang-china
的确还是慢慢长路,不过一切都要看市场如何消化,现在有一些新技术,可以一下子热起来的。

我挺看好Go的,关键是要用得广泛起来,这玩意才有前途。目前实际项目还缺乏,不好评价的。

Yours sincerely,

Leask Huang / 黄 思夏
www.leaskh.com / i...@leaskh.com

// The Lord brings death and makes alive; he brings down to the grave and raises up. / 1 Samuel 2:6


2010/3/12 Gang Chen <chen.g...@gmail.com>

Kula

unread,
Mar 12, 2010, 12:03:23 AM3/12/10
to golang...@googlegroups.com
go可以拿来作网络游戏的后端服务器

2010/3/12 Leask Huang <i...@leaskh.com>

Bian Jiang

unread,
Mar 12, 2010, 12:51:12 AM3/12/10
to golang...@googlegroups.com
现在好像有人在做这方面的尝试。

2010/3/12 Kula <kula...@gmail.com>
go可以拿来作网络游戏的后端服务器


--
Bian Jiang
http://www.wifihack.net/
http://golang-china.org/

Reply all
Reply to author
Forward
0 new messages