gosumwhy

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 8 Imported by: 0

README

gosumwhy

search dependencies between go modules from the output of go mod graph

Installation
go install github.com/LeGEC/gosumwhy@latest
Usage

from within a go module (it internally runs go mod graph and reads the graph from the output of that command) :

gosumwhy list                      # list all modules present in the graph
gosumwhy path module/name@version  # print a dependency path to that module@version
gosumwhy -allv path module/name    # print a dependency path for each version of that module

See gosumwhy -h for more details on ways to provide a dependency graph:

# from stdin:
go mod graph | gosumwhy ...
# from a file (e.g: generated using 'go mod graph > graph.txt'):
gosumwhy -f graph.txt ...
# running 'go mod graph' in a module located somewhere else on disk:
gosumwhy -modpath path/to/module ...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL