You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`go get -u -v`
Tried to update all dependencies containing a **local only** replace, i.e the specified module domain doesn't exists. Here mycompany.com domain is just hypothetical.
What did you expect to see?
Probably ignore the local replaced dep when running go get -u
What did you see instead?
go get: upgrading mycompany.com/B@v0.0.0-00010101000000-000000000000: module mycompany.com/B: reading https://proxy.golang.org/mycompany.com/B/@v/list: 410 Gone
server response: not found: mycompany.com/B@latest: unrecognized import path "mycompany.com/B": https fetch: Get "https://mycompany.com/B?go-get=1": dial tcp: lookup mycompany.com/B on 8.8.8.8:53: no such host
The text was updated successfully, but these errors were encountered:
rajveermalviya
changed the title
cmd/go: go get -u fails when updating all dependencies of a module containing local replace
cmd/go: go get -u fails in a module containing local only replace
Jun 21, 2020
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yep
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go.mod
What did you expect to see?
Probably ignore the local replaced dep when running
go get -u
What did you see instead?
The text was updated successfully, but these errors were encountered: