Skip to content

gomodblame - generate Mermaid graphs to visualize go mod dependency chains

License

qualidafial/gomodblame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gomodblame

Generate Mermaid graph to visualize how go mod dependencies are being brought in.

Installation

go install github.com/qualidafial/gomodblame@latest

Usage

gomodblame -o graph.mermaid

Example Output

graph LR;
    n0["github.com/qualidafial/gomodblame"];
    n1["github.com/spf13/[email protected]"];
    n0 --> n1;
    n2["golang.org/x/[email protected]"];
    n0 --> n2;
    n3["github.com/google/[email protected]"];
    n2 --> n3;
    n4["golang.org/x/[email protected]"];
    n2 --> n4;
    n5["golang.org/x/[email protected]"];
    n2 --> n5;
graph LR;
    n0["github.com/qualidafial/gomodblame"];
    n1["github.com/spf13/[email protected]"];
    n0 --> n1;
    n2["golang.org/x/[email protected]"];
    n0 --> n2;
    n3["golang.org/x/[email protected]"];
    n2 --> n3;
    n4["github.com/google/[email protected]"];
    n2 --> n4;
    n5["golang.org/x/[email protected]"];
    n2 --> n5;
Loading

About

gomodblame - generate Mermaid graphs to visualize go mod dependency chains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages