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: describe replacements in dependency modules in case of a build failure #42717
What version of Go are you using (
In general the solution to this sort of problem is not to add your own
I think it might be reasonable to surface the
@bcmills Thank you for your reply.
It's true that we should fix whatever dependency has the
Exactly, I think that build error message involving those dependencies is enough to find out what's wrong with build failure. Suggest adding a replace directive maybe mislead user, so it's better to let user decide what to do.