# Functions
Build returns the build suffix of the semantic version v.
Canonical returns the canonical formatting of the semantic version v.
Compare returns an integer comparing two versions according to semantic version precedence.
IncDecimal returns the decimal string incremented by 1.
IsValid reports whether v is a valid semantic version string.
Major returns the major version prefix of the semantic version v.
MajorMinor returns the major.minor version prefix of the semantic version v.
Max canonicalizes its arguments and then returns the version string that compares greater.
Patch returns the patch version of the semantic version v.
Prerelease returns the prerelease suffix of the semantic version v.
Sort sorts a list of semantic version strings using [ByVersion].
# Type aliases
ByVersion implements [sort.Interface] for sorting semantic version strings.