Versions in this module Expand all Collapse all v0 v0.1.1 Jul 31, 2026 v0.1.0 Oct 21, 2024 Changes in this version + type SortedVersions []Version + func (s SortedVersions) Len() int + func (s SortedVersions) Less(i, j int) bool + func (s SortedVersions) Swap(i, j int) + type SpecifierOption interface + type Specifiers struct + func NewRSpecifiers(v string, sanitizer func(string) string, opts ...SpecifierOption) (Specifiers, error) + func NewSpecifiers(v string, opts ...SpecifierOption) (Specifiers, error) + func NewSpecifiersWithSanitizer(v string, sanitizer func(string) string, opts ...SpecifierOption) (Specifiers, error) + func (ss Specifiers) Check(v Version) bool + func (ss Specifiers) String() string + type Version struct + func MustParse(v string) Version + func Parse(v string) (Version, error) + func (v Version) BaseVersion() string + func (v Version) Compare(other Version) int + func (v Version) Equal(o Version) bool + func (v Version) GreaterThan(o Version) bool + func (v Version) GreaterThanOrEqual(o Version) bool + func (v Version) IsPostRelease() bool + func (v Version) IsPreRelease() bool + func (v Version) LessThan(o Version) bool + func (v Version) LessThanOrEqual(o Version) bool + func (v Version) Local() string + func (v Version) Original() string + func (v Version) Public() string + func (v Version) String() string + type WithPreRelease bool