New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/smallnest/gomodv

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/smallnest/gomodv

  • v0.2.2
  • Source
  • Go
  • Socket score

Version published
Created
Source

gomodv

Go Report Card     Go Coverage     Go API Reference

This is a modified version of modgraphviz and forked from lucasepe/modgv.

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 | gomodv | 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 blue.
  • other nodes, which aren't in the final build list, are colored grey

Installation

go get github.com/smallnest/gomodv

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

Sample output (PNG)

go mod graph | gomodv | dot -Tpng -o graph2.png

In short mode and not render unpicked:

go mod graph | gomodv -s -unpicked=false| dot -Tpng -o graph.png

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

View generated PDF

FAQs

Package last updated on 13 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc