Discover Packages
github.com/fatimalkaus/depgrapth
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: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
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
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.