For standard library URLs, use the path with the "go" form of the
version, rather than the "v" form. (Outside of stdlib, the two should
be the same.)
As part of the fix, define and test the functions that create
both ordinary and canonical URL paths for units.
Trust: Jonathan Amsterdam <firstname.lastname@example.org>
Run-TryBot: Jonathan Amsterdam <email@example.com>
TryBot-Result: kokoro <firstname.lastname@example.org>
Reviewed-by: Julie Qiu <email@example.com>
There are several definitions of version in internal/frontend:
These different cases should be clearly documented and tested, to avoid issues such as #41850.
The text was updated successfully, but these errors were encountered: