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.
Structs and context keys corrupt when vendoring dependencies #41556
What version of Go are you using (
That's the thing to fix, though.
In GOPATH mode, the
That is one of the problems that module mode was designed to fix, so the fix here is “use module mode”.
(There may be other issues in using module mode, but if so we should fix those issues — please file them separately. Module mode is the fix for the bad