Skip to content

Instantly share code, notes, and snippets.

@sogko
Created May 1, 2015 11:43
Show Gist options
  • Save sogko/6c264234317275b4fec9 to your computer and use it in GitHub Desktop.
Save sogko/6c264234317275b4fec9 to your computer and use it in GitHub Desktop.
A useful terminal command using `go list` to list (non-standard) dependencies in your package directory
go list -f '{{.Deps}}' | tr "[" " " | tr "]" " " | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment