I’ve a direct dependency in my go.mod file that was github.com/imdario/mergo
however the creators modified the identify to dario.cat/mergo. I up to date this dependency to the right identify within the direct dependency in my go.mod file, nonetheless, I even have an oblique dependency that’sgithub.com/imdario/mergo
. So, to replace this dependency to the brand new identify I used a change directive. However, I’m getting the error dario.cat/mergo@v1.0.0 use for 2 completely different module paths (dario.cat/mergo and github.com/imdario/mergo)
. How do I resolve this error since this module path needs to be included in each the direct and oblique dependencies?
1 Like