Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 976 Bytes

README.md

File metadata and controls

48 lines (40 loc) · 976 Bytes

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