depscheck
depscheck copied to clipboard
Supporting "depscheck ./..."
I'd love to see a support for doing the stats recursively on all the sub packages of a certain package excluding the vendor directory. Thanks.
Good point. Definitely should be added.
In case it's helpful to see a snippet of how to convert packages
command-line arguments into a list of full import paths (i.e., all relative import paths converted to full), feel free to look at (and take anything from) how I did it in goimporters
:
https://github.com/shurcooL/cmd/blob/7e11c3fd82ef2870d535b0fed43ecf83d5f8cab5/goimporters/main.go#L52-L60