Friday, May 24, 2024
HomeGolangError: used from two completely different module paths - Getting Assist

Error: used from two completely different module paths – Getting Assist


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’s
github.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

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments