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

cmd/go: add minimal backwards-compatibility support for vgo #24916

Closed
rsc opened this issue Apr 18, 2018 · 1 comment
Closed

cmd/go: add minimal backwards-compatibility support for vgo #24916

rsc opened this issue Apr 18, 2018 · 1 comment
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Apr 18, 2018

Copying from #24301 (comment):

Define “new” code as code with a go.mod file in the same directory or a parent directory. The old go get must continue to download code exactly as it always has. I propose that the “go build” step adjust its handling of imports in “new” code. Specifically, if an import in new code says x/y/v2/z but x/y/v2/z does not exist and x/y/go.mod says “module x/y/v2”, then go build will read the import as x/y/z instead. We would push this update as a point release for Go 1.9 and Go 1.10.

@ALTree
Copy link
Member

ALTree commented Apr 26, 2018

Exact dup of #25069, which has a CL. Closing here.

@ALTree ALTree closed this as completed Apr 26, 2018
@golang golang locked and limited conversation to collaborators Apr 26, 2019
@rsc rsc removed their assignment Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants