I am new to Go
and am writing a test application and would like to document it. My application is in GOHOME\src\myapp
.
I could use the following command to start a server and use a browser to view the documents. This worked:
$ godoc -http=":5050"
However, I would like to generate HTML files and copy the files to a server so other people could read them. I tried:
$ godoc myapp -zip="1.zip"
and
$ godoc myapp -zip="1.zip" -index=true
I always get the following error:
No match found.
What should I do so that I can generate all document files?