Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cch123/gomod-conflict-detect
- Owner: cch123
- Created: 2020-04-18T16:23:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T09:50:54.000Z (over 4 years ago)
- Last Synced: 2024-10-11T22:12:07.524Z (24 days ago)
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 49
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- my-awesome - cch123/gomod-conflict-detect - 04 star:0.0k fork:0.0k detect dependencies which may conflict (Go)
README
# gomod-conflict-detect
Install:
```shell
go get -v -u github.com/cch123/gomod-conflict-detectcd ${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