-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Go modules to list imported modules
If module mode is enabled (`-m`), all possible module dependencies are listed, regardless of whether the packages requiring the module are actually imported. This results in un-imported modules being listed, which is incongruous with other Go package manager implementations. The removal of the `-m` flag causes `go list` to list imported packages. A format string is used so that the corresponding module is listed in place of each imported package.
- Loading branch information
Showing
2 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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