https://github.com/sergiotapia/smitego
How do go programmers write their documentation? Do I just write comments on func's and use a tool to generate it? What the standard?
Thanks
https://github.com/sergiotapia/smitego
How do go programmers write their documentation? Do I just write comments on func's and use a tool to generate it? What the standard?
Thanks
For Go, the standard toolchain is the builtin go doc tool (http://godoc.org/code.google.com/p/go.tools/cmd/godoc), and the GoDoc website for hosting (https://godoc.org/-/about). Using that pair of tools will be a good start.
The advantage of these standardised tools is that it gives most documentation for projects in a given language a common 'look'. Go libraries have one kind of appearance, Python ones another, and so on. This tends to make navigating around much easier.
http://ericholscher.com/blog/2014/feb/11/sphinx-isnt-just-fo...
https://sourcegraph.com/github.com/sergiotapia/smitego
For Go, godoc.org is also great.