Skip to content

x/pkgsite: show version when global variables and constants are added #68266

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

Open
h9jiang opened this issue Jul 1, 2024 · 1 comment
Open
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. pkgsite

Comments

@h9jiang
Copy link
Member

h9jiang commented Jul 1, 2024

What is the URL of the page with the issue?

https://pkg.go.dev/context#pkg-variables

What is your user agent?

N/A

Screenshot

image

What did you do?

N/A

What did you see happen?

The variable like Canceled, DeadlineExceeded does not have the available version. In comparison, the function defined below AfterFunc() do have available version.

What did you expect to see?

The Variables and Constants should also have this information displayed in the pkg.go.dev.

@h9jiang h9jiang added the pkgsite label Jul 1, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jul 1, 2024
@gabyhelp
Copy link

gabyhelp commented Jul 1, 2024

@seankhliao seankhliao changed the title x/pkgsite: VAR and CONST symbols do not have available std lib version x/pkgsite: show version when global variables and constants are added Jul 1, 2024
@findleyr findleyr modified the milestones: Unreleased, pkgsite/backlog Jul 8, 2024
@seankhliao seankhliao marked this as a duplicate of #73032 Mar 25, 2025
@prattmic prattmic added the NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. label Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. pkgsite
Projects
None yet
Development

No branches or pull requests

5 participants