Skip to content

dangermike/gomod2dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go mod 2 dot

Run this in a Go project to get a dependency graph as a dot digraph, which you can render using the dot command line tool. This thing also takes in an optional filter, which is a RE2 regex. If you want to see why a particular package was imported in a graphical way, this is a way to do that.

Example

gomod2dot urfave/cli | dot -Tpng > go.mod.png

About

Converts a go mod graph to a dotfile. With optional filtering!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages