command
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Mar 6, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
depgraph
This Go application builds a graph representation of the dependencies within a Go module.
Installation
go install github.com/fatimalkaus/depgrapth@latest
Usage
go run main.go -depth <depth_value> -reg <regex_string> <optional_module_path>
Parameters
-
-depth
: Specifies the maximum depth for building the graph (default is 10).
-
-reg
: Specifies the regular expression for filtering the dependencies.
-
<optional_module_path>
: Optional path to the module. If not provided, the current working directory will be used.
Output
The application outputs the graph representation on the DOT format of the dependencies to the standard output.
Example
depgrapth -reg="github" -depth=15 | dot -Tpng > out.png
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.