| For 'go doc' to generate docs, it depends on comments above the code in go. 'go docs' are conceptually quite similar to javadoc. Some examples on how to include these comments can be seen here and exampled of rendered docs from golang itself here. If anyone has other helpful docs/ links, please feel free to link here (documented use of godoc seems sparse). |