Core

/bin/util/view-go-deps.bat (197 B)

 1
2
3
4
5
6
7
8
9
10
@ECHO OFF

rem Uses gomod to visualize the module graph
rem Requires gomod available on the path

cd %~dp0\..\..

echo "building dependency SVG..."
@ECHO ON
gomod graph | dot -Tsvg -o tmp\deps.svg