gomodblame

command module
v0.0.0-...-afa95d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

README

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;

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
set

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL