Documentation
¶
Overview ¶
Package version compares dotted semantic-version strings (major.minor.patch). It is deliberately tiny and dependency-free so both the API update check and the CLI self-upgrade can share one comparator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delta ¶ added in v1.7.0
Delta classifies how far b is ahead of a: "major", "minor" or "patch" for the most significant component that differs, or "" when b is not strictly newer than a (equal, older, or either unparseable).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.