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

x/tools/godoc: wrong anchor links for type constructors #15866

Closed
kostya-sh opened this issue May 28, 2016 · 1 comment
Closed

x/tools/godoc: wrong anchor links for type constructors #15866

kostya-sh opened this issue May 28, 2016 · 1 comment

Comments

@kostya-sh
Copy link
Contributor

#13748 added anchor links to functions, types and methods.

There is a small bug though. Anchor links for constructors link to the type instead of the func.

For example:

Anchor link for https://tip.golang.org/pkg/net/http/#NewRequest links to https://tip.golang.org/pkg/net/http/#Request

Anchor links for methods are correct (for example https://tip.golang.org/pkg/net/http/#Request.AddCookie)

@kostya-sh kostya-sh changed the title tools/godoc: wrong anchor links for type constructors x/tools/godoc: wrong anchor links for type constructors May 28, 2016
@gopherbot
Copy link

CL https://golang.org/cl/23531 mentions this issue.

@golang golang locked and limited conversation to collaborators May 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants