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:
- From package crypto
https://pkg.go.dev/crypto#Decrypter
- From package context
https://pkg.go.dev/context#Context
Method Library Type:
- From package crypto/rsa
https://pkg.go.dev/crypto/rsa#PrivateKey.Decrypt
- From pacakge go/types
https://pkg.go.dev/go/types#Alias.Obj
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.
Comment From: gabyhelp
Related Issues
- x/pkgsite: show the stdlib/module version when a symbol was added #42933 (closed)
- x/pkgsite: show the version when a symbol was added to a package #37102 (closed)
- x/pkgsite: list vulnerabilities for standard libraries #54843 (closed)
- x/pkgsite: show "Added in go.1.x" for each std package as a whole #68098 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: seankhliao
Duplicate of #51013