Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vgo: treat go.mod with only module statement same as empty/missing go.mod #25545

Closed
rsc opened this issue May 24, 2018 · 1 comment
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented May 24, 2018

Vgo has code to initialize a fresh go.mod file from existing version control files like Gopkg.lock.
If go.mod is empty it still does the initialization.
I thought that if go.mod contained only a module line it also did the initialization,
but empirically not.
We should probably make that so.

@andybons andybons added this to the vgo milestone May 24, 2018
@andybons andybons added the NeedsFix The path to resolution is known, but the work has not been done. label May 24, 2018
@gopherbot
Copy link

Change https://golang.org/cl/114496 mentions this issue: cmd/go/internal/vgo: auto-populate go.mod already containing module line

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants