godoc doesn't work in module mode yet. The workaround is to create a 
directory resembling a GOPATH and put your project there and set the GOPATH 
variable to that.

Tracking issue here - https://github.com/golang/go/issues/26827

On Tuesday, 26 March 2019 18:07:23 UTC+5:30, Weerasak Chongnguluam wrote:
>
> I try to use `godoc` to render package's documentation of module. But 
> `godoc` parsing only packages in `GOPATH`. How to use `godoc` with Go's 
> module or have alternative tool to render document of Go's module?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to