package
0.0.0-20221004191401-b427cc5e381d
Repository: https://github.com/pinterb/go-semver.git
Documentation: pkg.go.dev

# Functions

Increment returns the version incremented by the release type.
List takes a collection of raw version values and returns a list of valid versions.
Major returns the major version number.
Minor returns the minor version number.
Patch returns the patch version number.
Prerelease returns an array of prerelease components or nil if none exist.
SortedList takes a collection of raw version values and returns a sorted list of valid versions.
ToReleaseType is a convenience function for getting a valid ReleaseType.
Valid returns a parsed version or an error if it's not valid.

# Variables

ErrInternalOnlyReleaseType is returned when a requested release type is for internal use only.
ErrUnknownReleaseType is returned when a requested release type is unknown.

# Type aliases

No description provided by the author