Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/go: conversion from legacy dependency managers puts replacement module path in require section #33406
What version of Go are you using (
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: golang#33406