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?
to your account
In my home directory (so GOPATH mode):
$ go doc template.ZZZ
package template // import "html/template"
package template // import "text/template"
The long pause is unfortunate but understandable.
The output lines should not happen at all.
That line should be delayed until actual results are found in a package.
The text was updated successfully, but these errors were encountered:
/cc @robpike @mvdan per owners.
Sorry, something went wrong.
I agree with the report. I also don't get why the package line is being printed twice - even if we wanted it, it should only be there once.
It's actually two lines, one for each package that might have ZZZ. I suspect this is a bug from the refactoring to make the package name come out always. I can take a look.
Change https://golang.org/cl/226998 mentions this issue: cmd/doc: don't print package clauses on error
cmd/doc: don't print package clauses on error
No branches or pull requests