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
Using Go1.5
Given a package of the following:
package foo const ( Foo = iota Bar Baz ) const ( unexported = iota Exported Another ) const ( Kilo = 1E3 Mega = 1E6 Giga = 1E9 )
The go doc tool prints the following:
package foo // import "." const Foo = iota ... const Kilo = 1E3 ...
I expect the following:
package foo // import "." const Foo = iota ... const Exported ... const Kilo = 1E3 ...
The "go doc" tool should not hide the existance of the "Exported" const.
The text was updated successfully, but these errors were encountered:
This may be related to #11705, but I'm not sure what exactly the author is expecting in that issue.
Also, I would be interested in fixing this issue if nobody wants to take it.
Sorry, something went wrong.
CL https://golang.org/cl/14780 mentions this issue.
4e99ed6
No branches or pull requests
Using Go1.5
Given a package of the following:
The go doc tool prints the following:
I expect the following:
The "go doc" tool should not hide the existance of the "Exported" const.
The text was updated successfully, but these errors were encountered: