bin/go-dep-graph @ 49d2e9100576

Merge.
author Steve Losh <steve@stevelosh.com>
date Tue, 14 Jan 2020 13:32:31 -0500
parents 20c80d3ca2b3
children ef89c7a131b1
#!/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.svg" -Tsvg