Skip to content

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

Open
@h9jiang

Description

@h9jiang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions