Versions in this module Expand all Collapse all v1 v1.0.0 Jun 11, 2022 Changes in this version + var ErrorEmptyBuildIdentifier = errors.New("semver: Parse: empty build identifier") + var ErrorEmptyFilter = errors.New("semver: Filter: empty filter") + var ErrorEmptyPrereleaseIdentifier = errors.New("semver: Parse: empty prerelease identifier") + var ErrorIncompleteVersionCore = errors.New("semver: Parse: incomplete version core") + var ErrorLeadingZero = errors.New("semver: Parse: leading zeros are disallowed") + var ErrorNoFilter = errors.New("semver: Filter: no filter provided") + var ErrorPrereleaseDisallowed = errors.New("semver: Filter: ^ filter must not have prerelease identifiers") + func Format(x string) (string, error) + type Slice []*Version + func Filter(filter string, options Slice) (Slice, error) + func ParseMultiple(rawVersions []string) (Slice, error) + func (s Slice) Len() int + func (s Slice) Less(i, j int) bool + func (s Slice) Swap(i, j int) + type Version struct + Build []string + Major int + Minor int + Patch int + Prerelease []string + Stable bool + func MustParse(in string) *Version + func Parse(in string) (*Version, error) + func (v *Version) CompareTo(vx *Version) int + func (v *Version) MarshalJSON() ([]byte, error) + func (v *Version) Scan(data interface{}) error + func (v *Version) String() string + func (v *Version) UnmarshalJSON(x []byte) error + func (v *Version) Value() (driver.Value, error)