package
0.0.0-20230815192901-380e4844cc01
Repository: https://github.com/awslabs/aws-go-multi-module-repository-tools.git
Documentation: pkg.go.dev

# 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.
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.
Parse parses the string v into it's semver components, returns false if the string is not semver compliant.
Prerelease returns the prerelease suffix of the semantic version v.
Sort sorts a list of semantic version strings using ByVersion.

# Structs

Parsed returns the Parsed form of a semantic version string.

# Type aliases

ByVersion implements sort.Interface for sorting semantic version strings.