Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Logo

gomodgraff GoDoc Go Report Card

Gomodgraff is a utility to draw relationship between packages inside a Go module/project as dot diagram.

Installation

You can either build the binary yourself using make build or you can just prebuilt binary by downloading the latest releases from release page.

You can use these install scripts to download the latest version:

# install latest release to /usr/local/bin/
curl https://i.jpillora.com/avrebarra/gomodgraff! | *remove_this* bash
# install specific version
curl https://i.jpillora.com/avrebarra/gomodgraff@{version} | *remove_this* bash

Usage

# Show helps
$ gomodgraff -help

# Basic usages run in current directory
$ gomodgraff -only-internal
digraph sample {
"&cmd" -> "&modgraff";
"&main" -> "&cmd";
}

# Basic usages run in current directory, pipe to dot, and output a png
$ gomodgraff -only-internal | dot -Tpng -o gomodgraff.png

About

Gomodgraff is a utility to draw relationship graph between packages inside a Go module/project.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages