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

add Core func #85

Merged
merged 1 commit into from Mar 31, 2021
Merged

add Core func #85

merged 1 commit into from Mar 31, 2021

Commits on Mar 31, 2021

  1. add Core func

    Adds a Core function to Version, which returns a new Version created from only
    the MAJOR.MINOR.PATCH segments of the original version, without prerelease or
    metadata strings.
    
    Consumers of go-version often want to treat prereleases of versions as equal to
    non-prerelease versions, e.g. 0.15.0-dev as equal to 0.15.0. The present
    functionality is intended as an easy way to opt in to this behaviour.
    kmoe committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    7da126b View commit details
    Browse the repository at this point in the history