Skip to content

fatimalkaus/depgrapth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Graph of your Go dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages