-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two things changed in Go 1.16: 1. require directives go.mod files must have `require` directives. Previously, `replace` was enough. Now every dependency module must have a `require` and `replace`. `require`s look like this: `require <module> <module-version>`. Go validates the <module-version> string, so we had to plug in a valid(-looking) version number. 2. Go expects accurate go.sum files in the main module. We solve this by simply copying & appending every go.sum file of the individual modules in the main go.sum. Signed-off-by: Chris Koch <[email protected]>
- Loading branch information
Showing
1 changed file
with
66 additions
and
10 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