-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go/internal/modconv: put old module path in require section
This change modifies Go to generate correct go.mod file. Currently go-mod puts wrong module path in requires when Gopkg.toml contains source config. for example, there is a constraint declaration in Gopkg.toml as following: [[constraint]] name = "github.com/minio/minio-go" revision = "0415038e6086735b8c917d7fdb2ca93f07d7fb60" source = "https://github.com/liuchang0812/minio-go" go-mod puts `github.com/liuchang0812/minio-go` in requires. but, it should be `github.com/minio/minio-go` Fixes: #33406
- Loading branch information
1 parent
9195948
commit 96fae32
Showing
2 changed files
with
24 additions
and
1 deletion.
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