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
module github.com/maomaoguo2017/test-go-mod2
go 1.14
require github.com/maomaoguo2017/test-go-mod1 v0.0.3-0.20201112113544-07b048dab095
step1: mod1 merge branch "dev" into main (bfaf841) or just pull(62acd45);
step2: into mod2 and input
go get -v -u github.com/maomaoguo2017/test-go-mod1@main
<nothing output>
i expect mod1 version in go.mod of mod2 will update to latest but nothing to happen...
after "go get -u github.com/maomaoguo2017/test-go-mod1@main"
(mod2) mod.go
module github.com/maomaoguo2017/test-go-mod2
go 1.14
require github.com/maomaoguo2017/test-go-mod1 v0.0.3-0.20201112113544-07b048dab095
and when i run same command a long time later, it's ok.
go get -v -u github.com/maomaoguo2017/test-go-mod1@main
go: github.com/maomaoguo2017/test-go-mod1 main => v0.0.3-0.20201112125147-62acd45a2f00
go: downloading github.com/maomaoguo2017/test-go-mod1 v0.0.3-0.20201112125147-62acd45a2f00
Why??
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
mod1 (main branch): github.com/maomaoguo2017/test-go-mod1
mod2 (main branch): github.com/maomaoguo2017/test-go-mod2
mod2 dependent mod1;
(mod2) mod.go
step1: mod1 merge branch "dev" into main (bfaf841) or just pull(62acd45);
step2: into mod2 and input
i expect mod1 version in go.mod of mod2 will update to latest but nothing to happen...
after "go get -u github.com/maomaoguo2017/test-go-mod1@main"
(mod2) mod.go
and when i run same command a long time later, it's ok.
Why??
The text was updated successfully, but these errors were encountered: