Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cch123/gomod-conflict-detect

detect dependencies which may conflict
https://github.com/cch123/gomod-conflict-detect

Last synced: 8 days ago
JSON representation

detect dependencies which may conflict

Awesome Lists containing this project

README

        

# gomod-conflict-detect

Install:

```shell
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