如何使godoc链接到github上的源代码

On the godoc site, most libraries (http://godoc.org/github.com/beego/memcache for example) link directly to the source on github. When I run the godoc tool locally, this is not the case. We also have a local godoc server for our team, and it similarly does not link to the source on github. Our code is stored on github, and is organized accordingly (ie, github.com/mycompany/packagename). Is there a way to tell the godoc tool to link to code on github, even if it's in a private repo?

查看全部
drzil26260
drzil26260
2014/05/15 14:54
  • github
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复