Skip to content

x/pkgsite: standard lib symbol available version does not have same behavior across packages #68265

@h9jiang

Description

@h9jiang

What is the URL of the page with the issue?

https://pkg.go.dev/context#Context

What is your user agent?

N/A

Screenshot

Standard Library Type:

image
image

Method Library Type:

image
image

What did you do?

N/A

What did you see happen?

The content added in go1.5 in the website is not available across all the pkg.go.dev. As provided by the screenshot, all four symbols, are introduced in go1.5 but two of them have the added in go1.5 comment but two of them do not.

What did you expect to see?

User should be able to expect the comment to be there for all symbols that is not available starting 1.0 (the original version)

Or very clearly have a version say 1.10. Any symbol that introduced before 1.10 will be ignored from the pkg.go.dev and any symbol that introduced after 1.10 will be there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      x/pkgsite: standard lib symbol available version does not have same behavior across packages · Issue #68265 · golang/go