I am attempting to write a local HTML file with godoc.
The command I used was
godoc -html -index_files -write_index=false -goroot="/usr/local/go1.13.2.linux-amd64:" /path-to-pkg-main/main > index.html
I get the following error:
cannot find package “.” in:
/target
Any advice to create a local file?