[go: nahoru, domu]

Skip to content

Commit

Permalink
Update README with mod instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
RegisMelgaco authored and kisielk committed Jul 19, 2022
1 parent 57a7e4a commit 573dc89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ For basic usage, just give the package path of interest as the first
argument:

godepgraph github.com/kisielk/godepgraph

If you intent to graph a go mod project, your package should be passed as a relative path:

godepgraph ./pkg/api

The output is a graph in [Graphviz][graphviz] dot format. If you have the
graphviz tools installed you can render it by piping the output to dot:
Expand Down

0 comments on commit 573dc89

Please sign in to comment.