Popularity
6.2
Growing
Activity
0.0
-
393
7
11

Programming language: Go
License: BSD 3-clause "New" or "Revised" License
Tags: Package Management    

modgv alternatives and similar packages

Based on the "Package Management" category.
Alternatively, view modgv alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of modgv or a related project?

Add another 'Package Management' Package

README

modgv

Go Report Card     Go Coverage     Go API Reference     Mentioned in Awesome Go

Converts 'go mod graph' output into GraphViz's DOT language.

  • takes no options or arguments
  • it reads the output generated by “go mod graph” on stdin
  • generates a DOT language and writes to stdout

Usage:

go mod graph | modgv | dot -Tpng -o graph.png

For each module:

  • the node representing the greatest version (i.e., the version chosen by Go's MVS algorithm) is colored green
  • other nodes, which aren't in the final build list, are colored grey

Installation

go get github.com/lucasepe/modgv/modgv

Here 👉 https://graphviz.gitlab.io/download/ how to install GraphViz for your OS.

Sample output (PNG)

go mod graph | modgv | dot -Tpng -o graph.png

[](./graph.png)


Sample output (PDF with clickable links to module docs)

go mod graph | modgv | dot -Tps2 -o graph.ps
ps2pdf graph.ps graph.pdf

[View generated PDF](./graph.pdf)