forked from jfkw/obs-service-go_modules
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add '--subdir' option: all to specify the directory to search go.mod in
So far the first instance of go.mod found was picked. This may cause issues if multiple go.mod files are in a repository with sub-projects. Now we assume go.mod will reside in the top-most directory unless specified otherwise thru a command line option. Note: We keep this separate from the --basename option: the latter will most likely contain a version number and will require a change every time the package is updated, yet it is expected that subdir will be used more frequently. This addresses: See also: #1 Signed-off-by: Egbert Eich <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
9 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