gomod-conflict-detect
Install:
go get -v -u github.com/cch123/gomod-conflict-detect
cd ${YOUR PROJECT PATH}
Usage:
In your project path, execute gomod-conflict-detect
to get possible path conflict.
If you want to find out which dependency imports a library, execute gomod-conflict-detect | grep LIBNAME
The output is like:
Conflict in pkg github.com/klauspost/compress paths are:
mosn.io/mosn -> github.com/klauspost/[email protected]
mosn.io/mosn -> github.com/valyala/[email protected] -> github.com/klauspost/[email protected]
TODO
Convert output to dot svg