Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

won't show docs :-( #1

Closed
marcelloh opened this issue Feb 23, 2019 · 2 comments
Closed

won't show docs :-( #1

marcelloh opened this issue Feb 23, 2019 · 2 comments

Comments

@marcelloh
Copy link

As I moved everything to modules last week, I hoped that this would still show me my docs, even if my sources are outside of my gopath.

Would be nice if this worked, so I don't have to wait for modules to mature.

So, I've got this bundle of sources hidden om my computer, let 's say:
/data/somewhere/mystuff
if I start gohdoc .there, I expected the tool to grab all documentation from that starting point.

Bummer....

@neilotoole
Copy link
Owner

@marcelloh Apologies for not having responded to this sooner. Basically this modules problem lay with "godoc" itself, not gohdoc. See golang/go#33655

As you'll see from that issue, godoc has recently been updated to support modules. If you install the latest version of godoc (go get -u golang.org/x/tools/cmd/godoc) things should start working again. Let me know if that works for you and I'll close the issue.

@marcelloh
Copy link
Author

works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants