Versions in this module Expand all Collapse all v0 v0.2.0 Apr 26, 2026 Changes in this version + type Constraint struct + Type ConstraintType + Version *Version + func ParseConstraint(s string) (*Constraint, error) + func (c *Constraint) FindBestMatch(versions []*Version) *Version + func (c *Constraint) IsExact() bool + func (c *Constraint) Matches(v *Version) bool + func (c *Constraint) String() string + type ConstraintType int + const ConstraintCaret + const ConstraintExact + const ConstraintTilde + type Version struct + Major int + Minor int + Patch int + Prerelease string + func Parse(v string) (*Version, error) + func (v *Version) Compare(other *Version) int + func (v *Version) GreaterThanOrEqual(other *Version) bool + func (v *Version) LessThan(other *Version) bool + func (v *Version) String() string