Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/vgo: package/version set explicitly in go.mod is removed when running vgo build #25547
What version of Go are you using (
The reason I opened this is that I was confused for a few minutes as to what's happening and why.
As I wrote the file by hand, I am expecting that
So, I think others would be equally confused about this property. I would rather avoid this surprising behavior and introduce this as a clean-up functionality to
I would ask to either reconsider this or at least keeping it open for a little longer to see if others face a similar situation.