corpus
corpus copied to clipboard
add a command to easily download the modules from a list
I think it should also have two modes:
-
Only download the source for those modules, and nothing else. Useful for very simple analysis, like counting lines of Go code, applying code formatting changes, or grepping for simple patterns.
-
Download the modules and their dependencies into a module cache, likely with
go get -d.
These modules could be called "shallow" and "module cache". Both should use the module proxy, for the sake of being consistent, fast, and reproducible.