x/website/_content/ref/mod.mod: misstatements about build metadata in versions #64652
Labels
Documentation
Issues describing a change to documentation.
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
GoCommand
cmd/go
modules
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
59275e2
What operating system and processor architecture are you using (
go env
)?What did you do?
Read https://go.dev/ref/mod#versions.
What did you expect to see?
A description of the actual behavior of the
go
command.¹Concretely:
go get
accepts versions with+metadata
suffixes, and will accept such a tag as the base for a pseudo-version.+metadata
has no effect on version precedence,go
commands convert such versions to unambiguous, totally-ordered pseudo-versions for the purpose of version selection, and those pseudo-versions are what are ultimately written to thego.mod
file.¹https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/modfetch/coderepo.go;l=586-596;drc=46ea4ab5cb87e9e5d443029f5f1a4bba012804d3
What did you see instead?
(emphasis added)
The text was updated successfully, but these errors were encountered: