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
That’s because the assistdog has already renamed it’s import path from "github.com/hellomd/assistdog" to "github.com/rdumont/assistdog". When you used the old path "github.com/hellomd/assistdog" to import assistdog, go will reintroduces assistdog through the import statements "import github.com/rdumont/assistdog/…" in the go source file of assistdog.
The "github.com/rdumont/assistdog" and "github.com/hellomd/assistdog" are the same repos. This will work in isolation, bring about potential risks and problems.
Background
I find that
github.com/rdumont/assistdog
andgithub.com/hellomd/assistdog
coexist in this repo:https://github.com/multiformats/multiaddr/blob/master/test/go.mod (Line 10 & 5)
That’s because the
assistdog
has already renamed it’s import path from "github.com/hellomd/assistdog" to "github.com/rdumont/assistdog". When you used the old path "github.com/hellomd/assistdog" to importassistdog
, go will reintroducesassistdog
through the import statements "import github.com/rdumont/assistdog/…" in the go source file ofassistdog
.https://github.com/rdumont/assistdog/blob/c91d7a54538c6d66d976d4e71ad31b8661eddea3/assist.go#L11
The "github.com/rdumont/assistdog" and "github.com/hellomd/assistdog" are the same repos. This will work in isolation, bring about potential risks and problems.
Solution
Replace all the old import paths, change
"github.com/hellomd/assistdog"
to"github.com/rdumont/assistdog "
.Where did you import it: https://github.com/multiformats/multiaddr/search?q=hellomd%2Fassistdog&unscoped_q=hellomd%2Fassistdog
The text was updated successfully, but these errors were encountered: