bin/go-dep-graph @ cb6425cf31ba

Merge.
author Steve Losh <steve@stevelosh.com>
date Sun, 25 Aug 2019 14:49:34 -0400
parents f64186f7a65e
children 20c80d3ca2b3
#!/usr/bin/env bash

set -euo pipefail
function render {
    echo 'digraph foo {'
    go mod graph | sed -E 's/(.*) (.*)/    "\1" -> "\2";/' | sed -E 's/@[^; "]*//g'
    echo '}'
}

render | dot -o "dependencies.png" -Tpng