Documentation
¶
Overview ¶
Package semver implements creation, comparison, and more of semantic version data.
The general form of a semantic version string is:
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
where square brackets indicate optional parts. MAJOR, MINMOR, and PATCH are decimal numbers without leading zeroes; PRERELEASE and BUILD are each one or more sequences of alphanumeric characters, separated by dots. PRERELEASE must not have leading zeroes.
This package follows Semantic Versioning 2.0.0 (see semver.org).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Source Files
¶
- semver.go
Click to show internal directories.
Click to hide internal directories.