Created
November 7, 2017 09:53
-
-
Save elvarb/93633b46ce4582d23e854dcf4756a25e to your computer and use it in GitHub Desktop.
Powershell one liner that lists all dependencies in a Go application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$goapp = 'myapp' | |
((go list -f '{{ .Deps }}' $goapp).Trim('[',']')).Replace(' '," `n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment