Skip to content

Expose the SemVer package publicly #30194

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

Closed
mohamedattahri opened this issue Feb 12, 2019 · 1 comment
Closed

Expose the SemVer package publicly #30194

mohamedattahri opened this issue Feb 12, 2019 · 1 comment

Comments

@mohamedattahri
Copy link

mohamedattahri commented Feb 12, 2019

I’ve worked on more than one project that needed to programmatically configure environments using versioned packages, or simply log which versions are being used for future auditability. Tasks like parsing and comparing SemVer versions were pretty common.

The implementation used for the Go11 modules cmd/go/internal/semver seems stable and complete enough to be made public.

I suggest we move the semver package one level up so it’s not longer under internal.

@bcmills
Copy link
Contributor

bcmills commented Feb 12, 2019

Dup of #28101.

@bcmills bcmills closed this as completed Feb 12, 2019
@golang golang locked and limited conversation to collaborators Feb 12, 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

3 participants