-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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/mod: move cmd/go/internal/modfile into x/mod for go.mod parsing and formatting #34924
Comments
A nice addition to this would be exposing |
This seems to be underway in https://godoc.org/golang.org/x/mod. CC @jayconrod |
I'm going to triage this as a feature request in x/mod, rather than a proposal. We'll move this package over relatively soon. It's small, has few dependencies, and the API is stable. |
|
Change https://golang.org/cl/202565 mentions this issue: |
- Deleted dead code in gopkgin.go. - Minor documentation changes. Updates #34924 Change-Id: Ie2c744bbf6662cae20f09163200f20d7589fd237 Reviewed-on: https://go-review.googlesource.com/c/go/+/202565 Run-TryBot: Jay Conrod <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
Change https://golang.org/cl/202543 mentions this issue: |
Copied from 4be6b4a73d (CL 202565). No changes other than import paths. Updates golang/go#34924 Updates golang/go#31761 Change-Id: Ic25cb983f6641045fc24edf76953b06d4aa5cd43 Reviewed-on: https://go-review.googlesource.com/c/mod/+/202543 Reviewed-by: Bryan C. Mills <[email protected]>
Change https://golang.org/cl/202698 mentions this issue: |
Expose modfile parsing as an importable module
I'd like the ability to parse modfile for purpose of repo analysis across various projects and repositories. Currently, the logic exists within an internal package, and the go modfile design does not follow an existing standard. Instead of requiring a 3rd-party implementation, which would likely stray from the modfile standard in future versions, it would be convenient to expose the existing, internal package for this.
The text was updated successfully, but these errors were encountered: