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

proposal: make go/src/cmd/go/internal/module part of the standard library as go/module #30980

Closed
beoran opened this issue Mar 21, 2019 · 2 comments

Comments

@beoran
Copy link

beoran commented Mar 21, 2019

I am currently writing a Go module proxy, and I found that the code in the go/src/cmd/go/internal/module is very handy for this. For now I can just duplicate the code, but in the long run, once go modules stabilize, I think it would be better if this package or something similar was made part of the Go standard library as go/module, to make it easier to write a Go module proxy, or to handle go modules programmatically, and to avoid getting left behind if Go changes something about the module system.

@gopherbot gopherbot added this to the Proposal milestone Mar 21, 2019
@rsc
Copy link
Contributor

rsc commented Apr 24, 2019

I spent a while earlier today trying to find the various other bugs asking for other pieces of cmd/go to be exported somewhere importable. Does anyone know which ones those are? It would be nice to at least collect them in one place.

/cc @rogpeppe @jayconrod @bcmills @ianthehat @myitcv @dmitshur

@jayconrod
Copy link
Contributor

#28101 is probably the canonical issue. I'll close this as a dup.

@golang golang locked and limited conversation to collaborators Apr 23, 2020
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

4 participants