$ go version
go version devel +f0c383b833 Wed May 1 16:53:19 2019 +0000 linux/amd64
Does this issue reproduce with the latest release?
What did you do?
Read go help modules and go help go.mod.
What did you expect to see?
Some discussion of what replacements are and what they do.
What did you see instead?
The only documentation I can find is these lines in go help go.mod:
replace bad/thing v1.4.5 => good/thing v1.4.5
replace, to replace a module version with a different module version.
Exclude and replace apply only in the main module's go.mod and are ignored
in dependencies. See https://research.swtch.com/vgo-mvs for details.
I think there's probably more to say about how replace works. For example, it doesn't explicitly state that the thing to replace is on the left side of the arrow. It also doesn't mention that the version on the left is optional.
The text was updated successfully, but these errors were encountered: