We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I added this to cmd/doc/testdata/pkg.go:
diff --git a/src/cmd/doc/testdata/pkg.go b/src/cmd/doc/testdata/pkg.go index 924daa1..0a5ecdc 100644 --- a/src/cmd/doc/testdata/pkg.go +++ b/src/cmd/doc/testdata/pkg.go @@ -5,6 +5,13 @@ // Package comment. package pkg +import ( + "io" + "math" + "text/template" + "unicode" +) + // Constants // Comment about exported constant. @@ -172,3 +179,12 @@ const ( ) const ConstGroup4 ExportedType = ExportedType{} + +const MathPi => math.Pi + +func MathSin => math.Sin +func TemplateNew => template.New + +var UnicodeVersion => unicode.Version + +type UnicodeRangeTable => unicode.RangeTable
But then go doc cmd/doc/testdata does not show anything about these, and in fact go doc cmd/doc/testdata.TemplateNew says "no symbol TemplateNew".
This is very important to fix before the release. It would be fine if the definition just showed the alias and synthesized a comment
// TemplateNew is an alias for text/template.New. func TemplateNew => template.New
The text was updated successfully, but these errors were encountered:
Decision to back out current alias implementation. See #16339. Closing.
Sorry, something went wrong.
No branches or pull requests
I added this to cmd/doc/testdata/pkg.go:
But then go doc cmd/doc/testdata does not show anything about these, and in fact go doc cmd/doc/testdata.TemplateNew says "no symbol TemplateNew".
This is very important to fix before the release. It would be fine if the definition just showed the alias and synthesized a comment
The text was updated successfully, but these errors were encountered: