go work use <moddirs...>
Add modules to workspace file
Arguments
Name | Description |
---|---|
moddirs |
Options
Name | Description |
---|---|
-r | The -r flag searches recursively for modules in the argument directories, and the use command operates as if each of the directories were specified as arguments: namely, use directives will be added for directories that exist, and removed for directories that do not exist |