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/pkgsite: show version when global variables and constants are added #68266

Open
h9jiang opened this issue Jul 1, 2024 · 1 comment
Open

Comments

@h9jiang
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants